[PATCH v2 0/3] gpio: shared: another set of small fixes
From: Bartosz Golaszewski
Date: Tue Jan 06 2026 - 04:34:37 EST
Here are three more patches fixing issues reported with shared GPIO
management.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
---
Changes in v2:
- Fix mutex deadlock
- Fix lockdep false-positives
- Add a patch reducing the number of memory allocations
- Link to v1: https://lore.kernel.org/r/20260105-gpio-shared-fixes-v1-0-76d6ff0afcd8@xxxxxxxxxxxxxxxx
---
Bartosz Golaszewski (3):
gpio: shared: assign the correct firmware node for reset-gpio use-case
gpio: shared: fix a race condition
gpio: shared: don't allocate the lookup table until we really need it
drivers/gpio/gpiolib-shared.c | 34 ++++++++++++++++------------------
1 file changed, 16 insertions(+), 18 deletions(-)
---
base-commit: 19fb766a1e5ed5943a62fc671c09d45352a81b1d
change-id: 20260105-gpio-shared-fixes-40a8ec3b6b25
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>