[Letux-kernel] [PATCH] gpio: of: fix Freescale SPI CS quirk handling

Linus Walleij linus.walleij at linaro.org
Sat Aug 17 00:29:14 CEST 2019


On Fri, Aug 16, 2019 at 6:50 PM Andreas Kemnade <andreas at kemnade.info> wrote:

> On the gta04 we see:
> spi_gpio: probe of spi_lcd failed with error -2
>
> The quirk introduced in
> commit e3023bf80639 ("gpio: of: Handle the Freescale SPI CS")
> can also be triggered by a temporary -EPROBE_DEFER and
> so "convert" it to a hard -ENOENT.
>
> Disable that conversion by checking for -EPROBE_DEFER.
>
> Fixes: e3023bf80639 ("gpio: of: Handle the Freescale SPI CS")
> Suggested-by: H. Nikolaus Schaller <hns at goldelico.com>
> Signed-off-by: Andreas Kemnade <andreas at kemnade.info>

Good catch! Patch applied for fixes.

Yours,
Linus Walleij


More information about the Letux-kernel mailing list