Re: [PATCH] gpio: of: fix Freescale SPI CS quirk handling

2019-08-16 Thread Linus Walleij
On Fri, Aug 16, 2019 at 6:50 PM Andreas Kemnade 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

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

2019-08-16 Thread Andreas Kemnade
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_DEFE