]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gpio: tegra: fix unbalanced chained_irq_enter/exit
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Tue, 18 Jul 2017 12:35:45 +0000 (14:35 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 2 Aug 2017 08:42:38 +0000 (10:42 +0200)
commit9e9509e38fbe034782339eb09c915f0b5765ff69
treecdabc00cf2b3a8f104c2210be59fb308879efab0
parentdf1e76f28ffe87d1b065eecab2d0fbb89e6bdee5
gpio: tegra: fix unbalanced chained_irq_enter/exit

When more than one GPIO IRQs are triggered simultaneously,
tegra_gpio_irq_handler() called chained_irq_exit() multiple
times for one chained_irq_enter().

Fixes: 3c92db9ac0ca3eee8e46e2424b6c074e2e394ad9
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
[Also changed the variable to a bool]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tegra.c