Re: [PATCH] gpio: omap: handle deferred probe with dev_err_probe() for gpiochip_add_data()

From: Grygorii Strashko
Date: Mon Nov 30 2020 - 05:34:53 EST


Hi All,

On 19/11/2020 11:19, Tony Lindgren wrote:
* Grygorii Strashko <grygorii.strashko@xxxxxx> [201118 14:33]:
The gpiochip_add_data() may return -EPROBE_DEFER which is not handled
properly by TI GPIO driver and causes unnecessary boot log messages.

Hence, add proper deferred probe handling with new dev_err_probe() API.

Signed-off-by: Grygorii Strashko <grygorii.strashko@xxxxxx>

Acked-by: Tony Lindgren <tony@xxxxxxxxxxx>


Are there any comments? Could it be merged?
On am335 we no do see ~10 annoying error messages during boot as there now is
dependency from pinctrl on this platform.

--
Best regards,
grygorii