Skip to content

Commit f2bd5a0

Browse files
aiamadeusLinus Walleij
authored andcommitted
pinctrl: airoha: fix pinctrl function mismatch issue
The blamed commit made the following changes: -#define PINCTRL_FUNC_DESC(id)... - .desc = PINCTRL_PINFUNCTION(#id, ... +#define PINCTRL_FUNC_DESC(id, table)... + .desc = PINCTRL_PINFUNCTION(#id, ... - PINCTRL_FUNC_DESC(pon)... + PINCTRL_FUNC_DESC("pon", pon)... It's clear that the id of funcs doesn't match the definition. Remove redundant #string from the definition to fix this issue: pinctrl-airoha ...: invalid function mdio in map table Fixes: 4043b0c ("pinctrl: airoha: generalize pins/group/function/confs handling") Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Acked-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent ec8e1f4 commit f2bd5a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/pinctrl/mediatek/pinctrl-airoha.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
#define PINCTRL_FUNC_DESC(id, table) \
3737
{ \
38-
.desc = PINCTRL_PINFUNCTION(#id, table##_groups, \
38+
.desc = PINCTRL_PINFUNCTION(id, table##_groups, \
3939
ARRAY_SIZE(table##_groups)),\
4040
.groups = table##_func_group, \
4141
.group_size = ARRAY_SIZE(table##_func_group), \

0 commit comments

Comments
 (0)