mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] gpio: fix IRQ handling and probe error paths in four drivers
@ 2026-11-10 15:28 shao.mingyin
  2026-11-10 15:29 ` [PATCH v2 1/4] gpio: aspeed-sgpio: propagate IRQ setup error in probe shao.mingyin
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: shao.mingyin @ 2026-11-10 15:28 UTC (permalink / raw)
  To: linusw, brgl, linux-gpio
  Cc: linux-kernel, andrew, wbg, opendmb, florian.fainelli,
	bcm-kernel-feedback-list, jelonek.jonas

Four independent fixes in drivers/gpio/.  Two stop probe from swallowing
-EPROBE_DEFER so that the controller is retried once its parent interrupt
controller is ready, one makes the 104-IDI-48 IRQ status register
accessible again, and one keeps a missing device property from being
mistaken for a multi-gigabyte allocation.

The patches touch four separate drivers and have no shared dependency;
they are ordered by severity and can be reviewed, applied and taken
individually:

  1/4 gpio: aspeed-sgpio: propagate IRQ setup error in probe
  2/4 gpio: 104-idi-48: fix max_register blocking the IRQ register
  3/4 gpio: brcmstb: don't turn platform_get_irq errors into -ENOENT
  4/4 gpio: line-mux: fix unsigned truncation of property count error

Changes in v2:
- 4/4 (was 5/5): widen name[] to 11 bytes and print host_no with %u, so
  a ten-digit host number is not truncated to nine digits and cannot
  collide with an existing procfs entry (Jonas Jelonek).
- 1/4 (was 2/5), 2/4 (was 3/5), 3/4 (was 4/5): unchanged; pick up the
  Reviewed-by/Acked-by tags.
- The rcar patch (v1 1/5) was withdrawn after Geert Uytterhoeven's NAK
  on the v1 thread and is not reposted.
- This series replaces the standalone v2 of the line-mux patch posted on
  10 Nov; the other three patches are unchanged from v1 apart from the
  tags.
Link to v1: https://lore.kernel.org/all/202611071612471583hApcIRmqJX9mMWQtxmcN@zte.com.cn/

Shao Mingyin (4):
  gpio: aspeed-sgpio: propagate IRQ setup error in probe
  gpio: 104-idi-48: fix max_register blocking the IRQ register
  gpio: brcmstb: don't turn platform_get_irq errors into -ENOENT
  gpio: line-mux: fix unsigned truncation of property count error

 drivers/gpio/gpio-104-idi-48.c   | 2 +-
 drivers/gpio/gpio-aspeed-sgpio.c | 4 +++-
 drivers/gpio/gpio-brcmstb.c      | 4 ++--
 drivers/gpio/gpio-line-mux.c     | 5 +++--
 4 files changed, 9 insertions(+), 6 deletions(-)

---
base-commit: ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-16  9:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 15:28 [PATCH v2 0/4] gpio: fix IRQ handling and probe error paths in four drivers shao.mingyin
2026-11-10 15:29 ` [PATCH v2 1/4] gpio: aspeed-sgpio: propagate IRQ setup error in probe shao.mingyin
2026-11-16  8:02   ` Krzysztof Kozlowski
2026-11-16  9:22     ` shao.mingyin
2026-11-16  9:44       ` Krzysztof Kozlowski
2026-11-10 15:29 ` [PATCH v2 2/4] gpio: 104-idi-48: fix max_register blocking the IRQ register shao.mingyin
2026-11-10 15:29 ` [PATCH v2 3/4] gpio: brcmstb: don't turn platform_get_irq errors into -ENOENT shao.mingyin
2026-11-10 15:29 ` [PATCH v2 4/4] gpio: line-mux: fix unsigned truncation of property count error shao.mingyin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®