Re: PCA GPIO interrupt triggers

From: Wolfram Sang
Date: Sun Mar 25 2012 - 03:40:28 EST



> I'm using a GPIO chip (PCA9554) for a matrix-keypad. The keypad
> driver itself needs interrupts for both rising and falling edges.
> The PCA driver (gpio-pca953x.c) doesn't support it, but I don't
> understand why.

? I fail to see why having EDGE_FALLING together with EDGE_RISING is not
supported. Are you sure you didn't use some other IRQ_TYPE here?

> I think, this patch should work:

Think? Can't you test it :)

Regards,

Wolfram

--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |

Attachment: signature.asc
Description: Digital signature