Message ID | 20220211181500.1856198-8-bigeasy@linutronix.de (mailing list archive) |
---|---|
State | Accepted |
Commit | ff8dcfebe08dfb2524041116d4afce53ffe0b015 |
Headers | show |
Series | Provide and use generic_handle_irq_safe() where appropriate. | expand |
diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c index 7e6347fe93f99..8a7cf1d0e9688 100644 --- a/drivers/staging/greybus/gpio.c +++ b/drivers/staging/greybus/gpio.c @@ -391,10 +391,7 @@ static int gb_gpio_request_handler(struct gb_operation *op) return -EINVAL; } - local_irq_disable(); - ret = generic_handle_irq(irq); - local_irq_enable(); - + ret = generic_handle_irq_safe(irq); if (ret) dev_err(dev, "failed to invoke irq handler\n");