[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180514064805.680588266@linuxfoundation.org>
Date: Mon, 14 May 2018 08:48:52 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
stable@...r.kernel.org,
Govert Overgaauw <govert.overgaauw@...drive-technologies.com>,
Linus Walleij <linus.walleij@...aro.org>
Subject: [PATCH 4.9 18/36] gpio: fix aspeed_gpio unmask irq
4.9-stable review patch. If anyone has any objections, please let me know.
------------------
From: Govert Overgaauw <govert.overgaauw@...drive-technologies.com>
commit f241632fd087d3d9fbd5450f4d8c8604badd8348 upstream.
The unmask function disables all interrupts in a bank when unmasking an
interrupt. Only disable the given interrupt.
Cc: stable@...r.kernel.org
Signed-off-by: Govert Overgaauw <govert.overgaauw@...drive-technologies.com>
Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
---
drivers/gpio/gpio-aspeed.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/gpio/gpio-aspeed.c
+++ b/drivers/gpio/gpio-aspeed.c
@@ -256,7 +256,7 @@ static void aspeed_gpio_irq_set_mask(str
if (set)
reg |= bit;
else
- reg &= bit;
+ reg &= ~bit;
iowrite32(reg, addr);
spin_unlock_irqrestore(&gpio->lock, flags);
Powered by blists - more mailing lists