projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/gpio/gpio-pcf857x.c
b/drivers/gpio/gpio-pcf857x.c
index 5acffed10e77385fb59f2062d97530c5752c5bd8..27b46751ea7e86756f80e1c28664fe5736ca351b 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)