pinctrl: at91: choose appropriate handler for level interrupts
authorBoris BREZILLON <b.brezillon@overkiz.com>
Sat, 20 Jul 2013 14:51:33 +0000 (16:51 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Aug 2013 20:30:16 +0000 (22:30 +0200)
commit99fce0295e9c0b953844af92f3e9fa3a3b07c7e4
tree6801d0c0c52fffa3e74d043efa82eefca89e6f87
parentef75bfd5d106023c04639af92dd0a4d74691ff77
pinctrl: at91: choose appropriate handler for level interrupts

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@overkiz.com>
Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91.c
This page took 0.026059 seconds and 5 git commands to generate.