[openwrt/openwrt] airoha: fix pinctrl driver function bug
LEDE Commits
lede-commits at lists.infradead.org
Mon Sep 29 03:05:22 PDT 2025
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/646ccf6076358466df85d76fef51ac7a016ba17b
commit 646ccf6076358466df85d76fef51ac7a016ba17b
Author: Chukun Pan <amadeus at jmu.edu.cn>
AuthorDate: Fri Sep 26 23:02:15 2025 +0800
airoha: fix pinctrl driver function bug
The pinctrl driver for airoha was expecting a function name that was
not a string, but was passed one. Removing #string fixed this issue.
Fixes: c5b12fc ("airoha: Introduce support for Airoha AN7583 SoC")
Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
Link: https://github.com/openwrt/openwrt/pull/20190
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
.../120-02-pinctrl-mediatek-airoha-generalize-pins-group-functi.patch | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/linux/airoha/patches-6.12/120-02-pinctrl-mediatek-airoha-generalize-pins-group-functi.patch b/target/linux/airoha/patches-6.12/120-02-pinctrl-mediatek-airoha-generalize-pins-group-functi.patch
index 61989bc00b..b2b7e14eeb 100644
--- a/target/linux/airoha/patches-6.12/120-02-pinctrl-mediatek-airoha-generalize-pins-group-functi.patch
+++ b/target/linux/airoha/patches-6.12/120-02-pinctrl-mediatek-airoha-generalize-pins-group-functi.patch
@@ -32,9 +32,10 @@ Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
{ \
.desc = { \
.func = { \
- .name = #id, \
+- .name = #id, \
- .groups = id##_groups, \
- .ngroups = ARRAY_SIZE(id##_groups), \
++ .name = id, \
+ .groups = table##_groups, \
+ .ngroups = ARRAY_SIZE(table##_groups), \
} \
More information about the lede-commits
mailing list