[PATCH v2 0/4] pinctrl: single: follow-up fixes from review

From: A. Sverdlin

Date: Thu Nov 26 2026 - 10:45:58 EST


From: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxxxx>

These are follow-ups to commit ad2093840ca3 ("pinctrl: single: don't leak
group/function tables on consumer re-probe") in pinctrl/for-next, which
this series is based on. All three issues were found in code review
(partly while reviewing Lee's recent pinctrl-single series [1]). None of
them was reproduced, so the series is compile-tested only (W=1, ARM).

Changelog:
v2:
- added patch 4/4 fixing Sashiko finding [2]
v1:
- https://lore.kernel.org/all/20261119232806.4093754-1-alexander.sverdlin@xxxxxxxxxxx/

[1] https://lore.kernel.org/all/20261119205013.2563811-10-lee@xxxxxxxxxx/
[2] https://lore.kernel.org/all/sashiko-outbox-224208@xxxxxxxxxx/

Alexander Sverdlin (4):
pinctrl: single: Also free the pinconf table of a duplicate function
pinctrl: single: Don't remove deduplicated groups and functions on
error
pinctrl: single: Reject bit-per-mux without a usable function mask
pinctrl: single: Drop unused fshift and fmax

drivers/pinctrl/pinctrl-single.c | 37 +++++++++++++++++++-------------
1 file changed, 22 insertions(+), 15 deletions(-)

--
2.56.1