Re: [PATCH] gpiolib: do not print err message for EPROBE_DEFER

2020-12-01 Thread Bartosz Golaszewski
On Tue, Dec 1, 2020 at 6:16 PM Grygorii Strashko wrote: > > hi Bartosz, All, > > On 18/11/2020 16:29, Grygorii Strashko wrote: > > The gpiochip may have dependencies from pinmux and so got deferred. Now it > > will print error message every time -EPROBE_DEFER is returned which is > > unnecessary:

Re: [PATCH] gpiolib: do not print err message for EPROBE_DEFER

2020-12-01 Thread Grygorii Strashko
hi Bartosz, All, On 18/11/2020 16:29, Grygorii Strashko wrote: The gpiochip may have dependencies from pinmux and so got deferred. Now it will print error message every time -EPROBE_DEFER is returned which is unnecessary: "gpiochip_add_data_with_key: GPIOs 0..31 (gpio-0-31) failed to register,

[PATCH] gpiolib: do not print err message for EPROBE_DEFER

2020-11-18 Thread Grygorii Strashko
The gpiochip may have dependencies from pinmux and so got deferred. Now it will print error message every time -EPROBE_DEFER is returned which is unnecessary: "gpiochip_add_data_with_key: GPIOs 0..31 (gpio-0-31) failed to register, -517" Hence, do suppress error message for -EPROBE_DEFER case. S