OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6b698f
)
gpio: pcf857x: Add IRQF_SHARED when request irq
author
George Cherian
<george.cherian@ti.com>
Fri, 23 May 2014 05:57:27 +0000
(11:27 +0530)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 28 May 2014 07:21:04 +0000
(09:21 +0200)
It's quite possible that multiple pcf857x can be hooked up
to the same interrupt line with the processor. So add IRQF_SHARED
in request irq..
Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pcf857x.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-pcf857x.c
b/drivers/gpio/gpio-pcf857x.c
index
5acffed
..
27b4675
100644
(file)
--- a/
drivers/gpio/gpio-pcf857x.c
+++ b/
drivers/gpio/gpio-pcf857x.c
@@
-262,7
+262,7
@@
static int pcf857x_irq_domain_init(struct pcf857x *gpio,
/* enable real irq */
status = devm_request_threaded_irq(&client->dev, client->irq,
NULL, pcf857x_irq, IRQF_ONESHOT |
- IRQF_TRIGGER_FALLING,
+ IRQF_TRIGGER_FALLING
| IRQF_SHARED
,
dev_name(&client->dev), gpio);
if (status)