[lkml]   [2018]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2] gpiolib: Defer on non-DT find_chip_by_name() failure
On Wed, Jul 4, 2018 at 12:18 AM Janusz Krzysztofik <> wrote:

> Avoid replication of error code conversion in non-DT GPIO consumers'
> code by returning -EPROBE_DEFER from gpiod_find() in case a chip
> identified by its label in a registered lookup table is not ready.
> See for example case.
> Suggested-by: Boris Brezillon <>
> Signed-off-by: Janusz Krzysztofik <>
> Reviewed-by: Boris Brezillon <>
> ---
> Changelog
> v2: fix typo (latar -> later) - thanks Boris and Andy for catching this

Patch applied as the discussion seems to conclude this should
work fine, I hope we will notice if it doesn't!

Linus Walleij

 \ /
  Last update: 2018-07-09 15:18    [W:0.169 / U:3.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site