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

boris brezillon b.brezillon at overkiz.com
Thu Aug 8 00:10:54 EDT 2013


On 07/08/2013 20:59, Linus Walleij wrote:
> On Sat, Jul 20, 2013 at 4:51 PM, Boris BREZILLON
> <b.brezillon at overkiz.com> 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>
> Patch applied with Alexandre's Tested-by tag.
Thanks
>
> Worst thing that can happen is that I have to revert it.
> Now it will atleast get some testing in linux-next.
>
> Yours,
> Linus Walleij




More information about the linux-arm-kernel mailing list