summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib-of.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
-rw-r--r--drivers/gpio/gpiolib-of.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c
index 28233d3772f4..5c38ede43c7a 100644
--- a/drivers/gpio/gpiolib-of.c
+++ b/drivers/gpio/gpiolib-of.c
@@ -477,7 +477,7 @@ struct gpio_desc *of_find_gpio(struct device *dev, const char *con_id,
477 /* Special handling for SPI GPIOs if used */ 477 /* Special handling for SPI GPIOs if used */
478 if (IS_ERR(desc)) 478 if (IS_ERR(desc))
479 desc = of_find_spi_gpio(dev, con_id, &of_flags); 479 desc = of_find_spi_gpio(dev, con_id, &of_flags);
480 if (IS_ERR(desc)) { 480 if (IS_ERR(desc) && PTR_ERR(desc) != -EPROBE_DEFER) {
481 /* This quirk looks up flags and all */ 481 /* This quirk looks up flags and all */
482 desc = of_find_spi_cs_gpio(dev, con_id, idx, flags); 482 desc = of_find_spi_cs_gpio(dev, con_id, idx, flags);
483 if (!IS_ERR(desc)) 483 if (!IS_ERR(desc))