projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
910c8fb
)
gpio/pca953x: Interrupt pin is active-low
author
David Jander
<david@protonic.nl>
Wed, 8 Jun 2011 17:34:41 +0000
(11:34 -0600)
committer
Grant Likely
<grant.likely@secretlab.ca>
Wed, 8 Jun 2011 17:34:41 +0000
(11:34 -0600)
The interrupt pin of the PCA953x is active low, and on the rising edge
no interrupt should be produced.
Signed-off-by: David Jander <david@protonic.nl>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-pca953x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-pca953x.c
b/drivers/gpio/gpio-pca953x.c
index ce5736e83620fef22f13fcfcd51e20b0e966e69e..17e55701394bca96558a6e8131db3b2a769846d7 100644
(file)
--- a/
drivers/gpio/gpio-pca953x.c
+++ b/
drivers/gpio/gpio-pca953x.c
@@
-497,7
+497,7
@@
static int pca953x_irq_setup(struct pca953x_chip *chip,
ret = request_threaded_irq(client->irq,
NULL,
pca953x_irq_handler,
- IRQF_TRIGGER_
FALLING
| IRQF_ONESHOT,
+ IRQF_TRIGGER_
LOW
| IRQF_ONESHOT,
dev_name(&client->dev), chip);
if (ret) {
dev_err(&client->dev, "failed to request irq %d\n",