]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
pinctrl: iproc: Set irq handler based on trig type
authorHamish Martin <hamish.martin@alliedtelesis.co.nz>
Sun, 15 Dec 2019 21:05:03 +0000 (10:05 +1300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 16 Dec 2019 09:43:26 +0000 (10:43 +0100)
commit534ad35798aff40a93acac4c6d204ff8867701aa
tree358d78b0a826607656d9b92ddf4a0a429f8aa498
parentf4a73f5e26330d1e220f2905d604de1a5a079411
pinctrl: iproc: Set irq handler based on trig type

Rather than always using handle_simple_irq() as the gpio_irq_chip
handler, set a more appropriate handler based on the IRQ trigger type
requested.
This is important for level triggered interrupts which need to be
masked during handling.

Signed-off-by: Hamish Martin <hamish.martin@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20191215210503.15488-2-hamish.martin@alliedtelesis.co.nz
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-iproc-gpio.c