[PATCH 0/4] gpio: shared: fix some bugs in unregister and error paths
From: Bartosz Golaszewski
Date: Sat Dec 06 2025 - 06:54:50 EST
Here are a couple more fixes for shared GPIOs that I want to send before
the end of the merge window.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
---
Bartosz Golaszewski (4):
gpio: shared: fix NULL-pointer dereference in teardown path
gpio: shared: check if a reference is populated before cleaning its resources
gpio: shared: fix auxiliary device cleanup order
gpio: shared: make locking more fine-grained
drivers/gpio/gpiolib-shared.c | 50 ++++++++++++++++++++++++++-----------------
1 file changed, 30 insertions(+), 20 deletions(-)
---
base-commit: 057c46412cd90e432a73f650cdd75b56f755a082
change-id: 20251205-gpio-shared-teardown-fixes-d1e2429333c7
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>