Re: [PATCH] pinctrl: at91: Add error handling for pinctrl_utils_add_map_mux()
From: Linus Walleij
Date: Thu Apr 10 2025 - 18:34:48 EST
On Tue, Mar 18, 2025 at 4:07 AM Wentao Liang <vulab@xxxxxxxxxxx> wrote:
> In atmel_pctl_dt_subnode_to_map(), the return value of
> pinctrl_utils_add_map_mux() needs to be checked, for the function
> will fail to associate group when the group map is full. Add error
> handling for pinctrl_utils_add_map_mux() to return immediately and
> propagate the error code to caller function when the function fails.
>
> Signed-off-by: Wentao Liang <vulab@xxxxxxxxxxx>
Patch applied.
Yours,
Linus Walleij