[PATCH 1/1] pinctrl: airoha: fix pinctrl function mismatch issue
Linus Walleij
linus.walleij at linaro.org
Tue Nov 18 15:02:56 PST 2025
On Sat, Nov 15, 2025 at 11:00 AM Chukun Pan <amadeus at jmu.edu.cn> wrote:
> 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: 4043b0c45f85 ("pinctrl: airoha: generalize pins/group/function/confs handling")
> Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
Patch applied!
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list