diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2015-05-26 15:29:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-05-26 15:25:17 -0700 |
commit | 2611ebef8322fc12dc3c6b0ec869f1902aa25626 (patch) | |
tree | c9f879f507053df249ffb0b20870e8dfce4d1d1e /drivers/staging/greybus/gpio.c | |
parent | b8e3ffebac09b29ad4cc0bdbcafbbd77b3278685 (diff) | |
download | linux-stable-2611ebef8322fc12dc3c6b0ec869f1902aa25626.tar.gz linux-stable-2611ebef8322fc12dc3c6b0ec869f1902aa25626.tar.bz2 linux-stable-2611ebef8322fc12dc3c6b0ec869f1902aa25626.zip |
greybus: gpio: don't call irq-flow handler directly
Use generic_handle_irq_desc rather than call a hardcoded irq-flow
handler directly.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/gpio.c')
-rw-r--r-- | drivers/staging/greybus/gpio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c index c570f62046f5..526dd7e73a2f 100644 --- a/drivers/staging/greybus/gpio.c +++ b/drivers/staging/greybus/gpio.c @@ -314,9 +314,8 @@ static int gb_gpio_request_recv(u8 type, struct gb_operation *op) return -EINVAL; } - /* Dispatch interrupt */ local_irq_disable(); - handle_simple_irq(irq, desc); + generic_handle_irq_desc(irq, desc); local_irq_enable(); return 0; |