pinctrl: sunxi: Properly handle level triggered gpio interrupts
authorHans de Goede <hdegoede@redhat.com>
Sun, 29 Jun 2014 14:11:01 +0000 (16:11 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Jul 2014 12:08:24 +0000 (14:08 +0200)
commitf4c51c103b6a7373186dd6dc80759bc707bffdb4
tree6d6916c78232470d22cceb7429f8afe0687555c4
parentfea6d8efd023a2438c848c049480ea67ea0bca16
pinctrl: sunxi: Properly handle level triggered gpio interrupts

For level triggered gpio interrupts we need to use handle_fasteoi_irq,
like we do with the irq-sunxi-nmi driver. This is necessary to give threaded
interrupt handlers a chance to actuall clear the source of the interrupt
(which may involve sleeping waiting for i2c / spi / mmc transfers), before
acknowledging the interrupt.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sunxi.c