From: David Jander Date: Wed, 8 Jun 2011 17:34:41 +0000 (-0600) Subject: gpio/pca953x: Interrupt pin is active-low X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=17e8b42c17c3e9735ea03c4e6b67cedf5de170f4;p=~shefty%2Frdma-dev.git 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 Signed-off-by: Grant Likely --- diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index ce5736e8362..17e55701394 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",