mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] gpio: fix IRQ handling and probe error paths in five drivers
@ 2026-11-07  8:12 shao.mingyin
  2026-11-07  8:12 ` [PATCH 1/5] gpio: rcar: don't clobber INTMSK when disabling a single line shao.mingyin
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: shao.mingyin @ 2026-11-07  8:12 UTC (permalink / raw)
  To: linusw, brgl, linux-gpio
  Cc: linux-kernel, geert+renesas, andrew, wbg, opendmb,
	florian.fainelli, bcm-kernel-feedback-list, jelonek.jonas

Five independent fixes in drivers/gpio/.  One stops an IRQ mask write
from enabling every other line in the bank, 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 five separate drivers and have no shared dependency;
they are ordered by severity and can be reviewed, applied and taken
individually:

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

1/5 is a one-line read-modify-write in the R-Car mask path; 2/5 and 4/5
return the original platform_get_irq() error, including -EPROBE_DEFER;
3/5 raises max_register by one to cover the IRQ status/enable register;
5/5 makes the property count signed and rejects non-positive values.

All five are single-file changes under drivers/gpio/ and pass git apply
and checkpatch.  All go through the GPIO tree.

Shao Mingyin (5):
  gpio: rcar: don't clobber INTMSK when disabling a single line
  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     | 4 ++--
 drivers/gpio/gpio-rcar.c         | 2 +-
 5 files changed, 9 insertions(+), 7 deletions(-)

---
base-commit: 7649ba73f9e7e1e04d0b46213e39c79ae09dd55c

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

end of thread, other threads:[~2026-11-07 20:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-07  8:12 [PATCH 0/5] gpio: fix IRQ handling and probe error paths in five drivers shao.mingyin
2026-11-07  8:12 ` [PATCH 1/5] gpio: rcar: don't clobber INTMSK when disabling a single line shao.mingyin
2026-11-07  8:12 ` [PATCH 2/5] gpio: aspeed-sgpio: propagate IRQ setup error in probe shao.mingyin
2026-11-07  8:12 ` [PATCH 3/5] gpio: 104-idi-48: fix max_register blocking the IRQ register shao.mingyin
2026-11-07 20:19   ` William Breathitt Gray
2026-11-07  8:12 ` [PATCH 4/5] gpio: brcmstb: don't turn platform_get_irq errors into -ENOENT shao.mingyin
2026-11-07  8:12 ` [PATCH 5/5] 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®