aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorDavid Jander <david@protonic.nl>2011-06-08 13:34:41 -0400
committerGrant Likely <grant.likely@secretlab.ca>2011-06-08 13:34:41 -0400
commit17e8b42c17c3e9735ea03c4e6b67cedf5de170f4 (patch)
tree139ae2d6a02be1d1352b214a483a94477bfe21e8 /drivers/gpio
parent910c8fb6b4b8c9e0be576b6a78f4cccf228a4bfd (diff)
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')
-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,
497 ret = request_threaded_irq(client->irq, 497 ret = request_threaded_irq(client->irq,
498 NULL, 498 NULL,
499 pca953x_irq_handler, 499 pca953x_irq_handler,
500 IRQF_TRIGGER_FALLING | IRQF_ONESHOT, 500 IRQF_TRIGGER_LOW | IRQF_ONESHOT,
501 dev_name(&client->dev), chip); 501 dev_name(&client->dev), chip);
502 if (ret) { 502 if (ret) {
503 dev_err(&client->dev, "failed to request irq %d\n", 503 dev_err(&client->dev, "failed to request irq %d\n",