From: David Jander Date: Wed, 8 Jun 2011 17:34:41 +0000 (-0600) Subject: gpio/pca953x: Interrupt pin is active-low X-Git-Tag: upstream/snapshot3+hdmi~9621^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17e8b42c17c3e9735ea03c4e6b67cedf5de170f4;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 ce5736e..17e5570 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",