projects/linux·commit 49ef78e5

Merge tag 'gpio-fixes-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux

49ef78e5 · Linus Torvalds <[email protected]> · 2022-01-05 09:30:10 -08:00

Pull gpio fixes from Bartosz Golaszewski:
 "Here are two last fixes for this release cycle from the GPIO
  subsystem:

   - fix irq offset calculation in gpio-aspeed-sgpio

   - update the MAINTAINERS entry for gpio-brcmstb"

* tag 'gpio-fixes-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
  MAINTAINERS: update gpio-brcmstb maintainers
  gpio: gpio-aspeed-sgpio: Fix wrong hwirq base in irq handler
Commit
49ef78e59b0749814d79eed156dcfc175fbd2f74
Parents
c9e6606c · 32e246b0

Merge commit. Changes below are compared with the first parent: c9e6606c.

Changes

2 files changed · +3 −2

FileStatusAddDelContent
MAINTAINERSmodified+2−1View file
drivers/gpio/gpio-aspeed-sgpio.cmodified+1−1View file

MAINTAINERS

View file
diff --git a/MAINTAINERS b/MAINTAINERS
index fb18ce7..dd36acc 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3769,7 +3769,8 @@ S: Supported
F: drivers/net/wireless/broadcom/brcm80211/
BROADCOM BRCMSTB GPIO DRIVER
-M: Gregory Fong <[email protected]>
+M: Doug Berger <[email protected]>
+M: Florian Fainelli <[email protected]>
S: Supported
F: Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.txt

drivers/gpio/gpio-aspeed-sgpio.c

View file
diff --git a/drivers/gpio/gpio-aspeed-sgpio.c b/drivers/gpio/gpio-aspeed-sgpio.c
index 3d6ef37..b3a9b84 100644
--- a/drivers/gpio/gpio-aspeed-sgpio.c
+++ b/drivers/gpio/gpio-aspeed-sgpio.c
@@ -395,7 +395,7 @@ static void aspeed_sgpio_irq_handler(struct irq_desc *desc)
reg = ioread32(bank_reg(data, bank, reg_irq_status));
for_each_set_bit(p, &reg, 32)
- generic_handle_domain_irq(gc->irq.domain, i * 32 + p * 2);
+ generic_handle_domain_irq(gc->irq.domain, (i * 32 + p) * 2);
}
chained_irq_exit(ic, desc);