]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: bcm2835: Fix support for threaded level triggered IRQs
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 7 Apr 2015 10:43:45 +0000 (11:43 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 8 Apr 2015 14:41:59 +0000 (16:41 +0200)
commitbd4b54111f07867741246710aaa9d77631d44a36
tree1519fb351cafe47ef40fdf14125f570a220dc9cb
parent528361bb9407a4f6c9136d1251cf57ed71b10859
pinctrl: bcm2835: Fix support for threaded level triggered IRQs

Currently, the driver uses handle_simple_irq for all IRQ types and hard
codes the acknowledge for different IRQ types into the handler. It is
better to use the IRQ core as intended and let it handle the differences
between the various types of IRQ. For example the current system does
not work for threaded level triggered IRQs as these need to be masked
until the threaded handler has run.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c