]> 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)
commit10a0684ab993415db2b1dd1f65c382042d3f8f26
treecdabc00cf2b3a8f104c2210be59fb308879efab0
parent6c2223154f970ebf8a3f3ccbabfd5d1d84347ccf
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