diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-03-14 01:04:21 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-03-16 23:52:13 +0300 |
commit | 6798d7271cb44ba8354356a389047d84058a7828 (patch) | |
tree | 515214dfc85e3bf535733907c1299cf0aa6c7555 /drivers/gpio/gpio-mvebu.c | |
parent | c5097538c86a60c655f7fac33dfd565d22909dae (diff) | |
download | linux-6798d7271cb44ba8354356a389047d84058a7828.tar.xz |
gpio: acpi: Ignore -EPROBE_DEFER for unselected gpioints
When acpi_dev_gpio_irq_get gets called with an index of say 2, it should
not care if acpi_get_gpiod for index 0 or 1 returns -EPROBE_DEFER.
This allows drivers which request a gpioint with index > 0 to function
if there is no gpiochip driver (loaded) for gpioints with a lower index.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-mvebu.c')
0 files changed, 0 insertions, 0 deletions