gpio: fix aspeed_gpio unmask irq
authorGovert Overgaauw <govert.overgaauw@prodrive-technologies.com>
Fri, 6 Apr 2018 12:41:35 +0000 (14:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 May 2018 08:08:42 +0000 (10:08 +0200)
commit2b0e672598f9ae572b69898cb235fbeffc3e2f8e
tree506e8bcc38633c30a385571d0011fdc8180b2233
parent31d04ca1eb232077e7d8032bc845bba6e6465d22
gpio: fix aspeed_gpio unmask irq

commit f241632fd087d3d9fbd5450f4d8c8604badd8348 upstream.

The unmask function disables all interrupts in a bank when unmasking an
interrupt. Only disable the given interrupt.

Cc: stable@vger.kernel.org
Signed-off-by: Govert Overgaauw <govert.overgaauw@prodrive-technologies.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpio-aspeed.c