mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-17 19:14:47 +00:00
gpio: of: fix Freescale SPI CS quirk handling
On the gta04 we see: spi_gpio: probe of spi_lcd failed with error -2 The quirk introduced in commite3023bf806("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:e3023bf806("gpio: of: Handle the Freescale SPI CS") Suggested-by: H. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Link: https://lore.kernel.org/r/20190816165000.32334-1-andreas@kemnade.info Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
68e03b8547
commit
df451f83e1
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue