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:
c6b52c1
)
gpio/pca953x.c: Interrupt pin is active-low
author
David Jander
<david@protonic.nl>
Wed, 1 Jun 2011 08:57:27 +0000
(10:57 +0200)
committer
Grant Likely
<grant.likely@secretlab.ca>
Mon, 6 Jun 2011 16:09:42 +0000
(10:09 -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/pca953x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/pca953x.c
b/drivers/gpio/pca953x.c
index 0451d7ac94ac1d51b062d0da4ce19e4e12b6bdf4..63022b17014a4c8e949ce5c8713b48ecf6d39cd0 100644
(file)
--- a/
drivers/gpio/pca953x.c
+++ b/
drivers/gpio/pca953x.c
@@
-493,7
+493,6
@@
static int pca953x_irq_setup(struct pca953x_chip *chip,
ret = request_threaded_irq(client->irq,
NULL,
pca953x_irq_handler,
- IRQF_TRIGGER_RISING |
IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
dev_name(&client->dev), chip);
if (ret) {