summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-pca953x.c
diff options
context:
space:
mode:
authorDavid Jander <david@protonic.nl>2011-06-08 21:34:41 +0400
committerGrant Likely <grant.likely@secretlab.ca>2011-06-08 21:34:41 +0400
commit17e8b42c17c3e9735ea03c4e6b67cedf5de170f4 (patch)
tree139ae2d6a02be1d1352b214a483a94477bfe21e8 /drivers/gpio/gpio-pca953x.c
parent910c8fb6b4b8c9e0be576b6a78f4cccf228a4bfd (diff)
downloadlinux-17e8b42c17c3e9735ea03c4e6b67cedf5de170f4.tar.xz
gpio/pca953x: 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/gpio-pca953x.c')
-rw-r--r--drivers/gpio/gpio-pca953x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c
index ce5736e83620..17e55701394b 100644
--- 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",