[PATCH 0/5] gpio: fix IRQ handling and probe error paths in five drivers
From: shao.mingyin
Date: Sat Nov 07 2026 - 03:13:17 EST
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