Re: [PATCH] gpiolib: probe deferral error reporting

From: Linus Walleij
Date: Sun Jul 29 2018 - 16:49:26 EST


On Fri, Jul 20, 2018 at 9:54 AM Marcel Ziswiler <marcel@xxxxxxxxxxxx> wrote:

> From: Marcel Ziswiler <marcel.ziswiler@xxxxxxxxxxx>
>
> Actually report the error code from devm_regulator_get() which may as
> well just be a probe deferral.
>
> This is e.g. what one gets upon booting a Colibri T20:
>
> gpiochip_add_data_with_key: GPIOs 0..223 (tegra-gpio) failed to register
>
> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@xxxxxxxxxxx>

Makes perfect sense.
Patch applied.

Yours,
Linus Walleij