mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
gpio: fix aspeed_gpio unmask irq
The unmask function disables all interrupts in a bank when unmasking an interrupt. Only disable the given interrupt. Cc: [email protected] Signed-off-by: Govert Overgaauw <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
60cc43fc88
commit
f241632fd0
1 changed files with 1 additions and 1 deletions
|
|
@ -384,7 +384,7 @@ static void aspeed_gpio_irq_set_mask(struct irq_data *d, bool set)
|
|||
if (set)
|
||||
reg |= bit;
|
||||
else
|
||||
reg &= bit;
|
||||
reg &= ~bit;
|
||||
iowrite32(reg, addr);
|
||||
|
||||
spin_unlock_irqrestore(&gpio->lock, flags);
|
||||
|
|
|
|||
Loading…
Reference in a new issue