summaryrefslogtreecommitdiff
path: root/drivers/gpio/pca953x.c
diff options
context:
space:
mode:
authorDavid Jander <david@protonic.nl>2011-06-01 10:57:27 +0200
committerGrant Likely <grant.likely@secretlab.ca>2011-06-06 10:09:42 -0600
commit121a2dd860f8348fb014b660f133a0cb9a16273e (patch)
tree7a1391d7fccdea56c974ceab6f9bed5fc202ec91 /drivers/gpio/pca953x.c
parentc6b52c13de4415ed5774be8c076685715de56096 (diff)
gpio/pca953x.c: Interrupt pin is active-low
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>
Diffstat (limited to 'drivers/gpio/pca953x.c')
-rw-r--r--drivers/gpio/pca953x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/pca953x.c b/drivers/gpio/pca953x.c
index 0451d7ac94ac..63022b17014a 100644
--- 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) {