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:
3275d07
)
gpio: pca953x: request a shared interrupt
author
Toby Smith
<toby@tismith.id.au>
Wed, 30 Apr 2014 08:01:41 +0000
(18:01 +1000)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 9 May 2014 10:58:12 +0000
(12:58 +0200)
Request a shared interrupt when requesting a pca953x GPIO interrupt
Signed-off-by: Toby Smith <toby@tismith.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-pca953x.c
b/drivers/gpio/gpio-pca953x.c
index 83cc2c8f105f7a0271829abf6b9e8e56d1a02a54..6398f8a0f40c2ea0546a52f742aa6aa963b8063f 100644
(file)
--- a/
drivers/gpio/gpio-pca953x.c
+++ b/
drivers/gpio/gpio-pca953x.c
@@
-586,7
+586,8
@@
static int pca953x_irq_setup(struct pca953x_chip *chip,
client->irq,
NULL,
pca953x_irq_handler,
- IRQF_TRIGGER_LOW | IRQF_ONESHOT,
+ IRQF_TRIGGER_LOW | IRQF_ONESHOT |
+ IRQF_SHARED,
dev_name(&client->dev), chip);
if (ret) {
dev_err(&client->dev, "failed to request irq %d\n",