Re: [PATCH] pinctrl: at91: choose appropriate handler for level interrupts

From: boris brezillon
Date: Thu Aug 01 2013 - 07:07:23 EST


On 01/08/2013 13:04, Alexandre Belloni wrote:
Hi,

On 20/07/2013 16:51, Boris BREZILLON wrote:
The current implementation handle both edge and level interrupts with the
'handle_simple_irq' handler.

Level interrupts are active as long as the pin stays at the configured
level (low or high). In this case we have to use 'handle_level_irq' which
mask the interrupt until the handle has treated it.

Signed-off-by: Boris BREZILLON <b.brezillon@xxxxxxxxxxx>
This solves the issue on my side.

Tested-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>


Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/