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:10:26 +0000 (10:10 +0200)
commit28534d29479dd18a8c8a3e5b77ef3562a6166cdd
treea37c49146d7fdc9ed1d88b01196e2906a51d9c8b
parent0f40bb84e25e591e35741979c578ce931818308b
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