[GIT PULL] gpio fixes for v7.1

From: Bartosz Golaszewski

Date: Thu Jun 11 2026 - 03:53:08 EST


Linus,

Please pull the final round of GPIO fixes for this release. They come in pretty
late but are all tiny and mostly in individual drivers.

Thanks,
Bartosz

The following changes since commit 4549871118cf616eecdd2d939f78e3b9e1dddc48:

Linux 7.1-rc7 (2026-06-07 15:37: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

for you to fetch changes up to a23226b7c1f69eafd9ced4e037fb51c9758c0501:

gpiolib: handle gpio-hogs only once (2026-06-10 10:12:57 +0200)

----------------------------------------------------------------
gpio fixes for v7.1

- fix NULL pointer dereference in gpio-mvebu
- fix runtime PM leak in remove path in gpio-zynq
- reject invalid module params in gpio-mockup
- fix generic IRQ chip leak in remove parh in gpio-rockchip
- fix resource leaks in GPIO chip cleanup path on hog failure
- fix a regression in how GPIO hogging code handles multiple GPIO chips
reusing the same OF node

----------------------------------------------------------------
Bartosz Golaszewski (1):
gpio: fix cleanup path on hog failure

Daniel Drake (1):
gpiolib: handle gpio-hogs only once

Marco Scardovi (1):
gpio: rockchip: fix generic IRQ chip leak on remove

Ruoyu Wang (1):
gpio: zynq: fix runtime PM leak on remove

Samuel Moelius (1):
gpio: mockup: reject invalid gpio_mockup_ranges widths

Yun Zhou (1):
gpio: mvebu: fix NULL pointer dereference in suspend/resume

drivers/gpio/gpio-mockup.c | 16 ++++++++++++++--
drivers/gpio/gpio-mvebu.c | 4 ++--
drivers/gpio/gpio-rockchip.c | 4 +++-
drivers/gpio/gpio-zynq.c | 1 +
drivers/gpio/gpiolib-of.c | 5 -----
drivers/gpio/gpiolib.c | 10 +++++++++-
6 files changed, 29 insertions(+), 11 deletions(-)