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

Alexandre Belloni alexandre.belloni at free-electrons.com
Thu Aug 1 07:04:12 EDT 2013


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 at overkiz.com>

This solves the issue on my side.

Tested-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>


-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com




More information about the linux-arm-kernel mailing list