diff options
Diffstat (limited to 'drivers/gpio/gpiolib.c')
-rw-r--r-- | drivers/gpio/gpiolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 8a29404985f1..21da9c19a0cb 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c | |||
@@ -386,9 +386,9 @@ static int gpio_setup_irq(struct gpio_desc *desc, struct device *dev, | |||
386 | } | 386 | } |
387 | } | 387 | } |
388 | 388 | ||
389 | ret = request_irq(irq, gpio_sysfs_irq, irq_flags, | 389 | ret = request_any_context_irq(irq, gpio_sysfs_irq, irq_flags, |
390 | "gpiolib", value_sd); | 390 | "gpiolib", value_sd); |
391 | if (ret) | 391 | if (ret < 0) |
392 | goto free_id; | 392 | goto free_id; |
393 | 393 | ||
394 | desc->flags |= gpio_flags; | 394 | desc->flags |= gpio_flags; |