Re: [PATCH v2] gpiolib: Defer on non-DT find_chip_by_name() failure

2018-07-09 Thread Linus Walleij
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 https://lkml.org/lkml/20

Re: [PATCH v2] gpiolib: Defer on non-DT find_chip_by_name() failure

2018-07-04 Thread Boris Brezillon
On Wed, 4 Jul 2018 00:18:19 +0200 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 https://lkml.org/lkm

[PATCH v2] gpiolib: Defer on non-DT find_chip_by_name() failure

2018-07-03 Thread Janusz Krzysztofik
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 https://lkml.org/lkml/2018/5/30/176 for example case. Suggested-by: Boris Brezillon Signed-