projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8e3ffe
)
greybus: gpio: don't call irq-flow handler directly
author
Johan Hovold
<johan@hovoldconsulting.com>
Tue, 26 May 2015 13:29:21 +0000
(15:29 +0200)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Tue, 26 May 2015 22:25:17 +0000
(15:25 -0700)
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>
drivers/staging/greybus/gpio.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/gpio.c
b/drivers/staging/greybus/gpio.c
index c570f62046f53d0bcceb2e81a75257d1cc3ad837..526dd7e73a2ffb385e8eb360447157be7754a13b 100644
(file)
--- 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;