aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-06-14 17:49:51 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-14 17:49:51 -0400
commit1ad96bb0a20fa26b952b2250e89d14b6397bf618 (patch)
treece7cc8cde5e4a356d697c99b2c450eaf37a6681d
parentc728762e064ad37bfd6689f2ac1f54d2355ac3ae (diff)
parent06fc3b70f1dc9c53070fa63a528830f54afc3c38 (diff)
Merge tag 'gpio-v3.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio
Pull GPIO fix from Linus Walleij: "A first GPIO fix for the v3.16 series, this was serious since it blocks the OMAP boot. Sending you this vital fix before leaving for a short vacation so it does not sit collecting dust in my tree for no good reason. Apart from this, our v3.16 cycle looks like a good start" * tag 'gpio-v3.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: gpio: of: Fix handling for deferred probe for -gpio suffix
-rw-r--r--drivers/gpio/gpiolib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index d9c9cb4665db..2ebc9071e354 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -2614,7 +2614,7 @@ static struct gpio_desc *of_find_gpio(struct device *dev, const char *con_id,
2614 2614
2615 desc = of_get_named_gpiod_flags(dev->of_node, prop_name, idx, 2615 desc = of_get_named_gpiod_flags(dev->of_node, prop_name, idx,
2616 &of_flags); 2616 &of_flags);
2617 if (!IS_ERR(desc)) 2617 if (!IS_ERR(desc) || (PTR_ERR(desc) == -EPROBE_DEFER))
2618 break; 2618 break;
2619 } 2619 }
2620 2620