]> git.baikalelectronics.ru Git - kernel.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)
commitcaf39930201be119d39fce1fa9f9b48808fc8d36
treecdabc00cf2b3a8f104c2210be59fb308879efab0
parentfdbb50ca6913ee6060d14e1510da4a2145246e1c
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: 59443b1b5c5c400be8e32ebf50e16feb0de0d376
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