[GIT PULL] gpio fixes for v7.1-rc5
From: Bartosz Golaszewski
Date: Fri May 22 2026 - 05:41:11 EST
Linus,
Please pull the following set of GPIO driver fixes for the upcoming RC.
Thanks,
Bartosz
The following changes since commit 5200f5f493f79f14bbdc349e402a40dfb32f23c8:
Linux 7.1-rc4 (2026-05-17 13:59:58 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v7.1-rc5
for you to fetch changes up to a4fa45c1d980bc2b9837f469119af24a9304a1fc:
gpio: virtuser: lock device when calling device_is_bound() (2026-05-21 14:36:07 +0200)
----------------------------------------------------------------
gpio fixes for v7.1-rc5
- propagate the error code from regulator_enable() in resume path in
gpio-pca953x
- take the device lock when calling device_is_bound() in virtual GPIO
drivers
- fix software node leak in remove path in gpio-aggregator
- fix a potential use-after-free in gpio-aggregator
- harden the GPIO character device uAPI: check that line config
attributes are correctly zeroed
----------------------------------------------------------------
Bartosz Golaszewski (6):
gpio: cdev: check if uAPI v2 config attributes are correctly zeroed
gpio: aggregator: fix a potential use-after-free
gpio: aggregator: remove the software node when deactivating the aggregator
gpio: sim: lock device when calling device_is_bound()
gpio: aggregator: lock device when calling device_is_bound()
gpio: virtuser: lock device when calling device_is_bound()
Stepan Ionichev (1):
gpio: pca953x: propagate regulator_enable() error from resume
drivers/gpio/gpio-aggregator.c | 15 +++++++++++----
drivers/gpio/gpio-pca953x.c | 2 +-
drivers/gpio/gpio-sim.c | 11 +++++++----
drivers/gpio/gpio-virtuser.c | 9 ++++++---
drivers/gpio/gpiolib-cdev.c | 13 +++++++++++++
5 files changed, 38 insertions(+), 12 deletions(-)