Re: [PATCH 1/1] pinctrl: pinctrl-generic-mux: use mux_state_try_select()

From: Linus Walleij

Date: Fri Jul 24 2026 - 17:44:21 EST


On Wed, Jul 15, 2026 at 9:36 PM <Frank.Li@xxxxxxxxxxx> wrote:

> Use mux_state_try_select() instead of mux_state_select() so that the
> consumer driver does not block during probe when the mux state has
> already been selected.
>
> mux_state_try_select() returns -EBUSY if the requested state is already
> selected, allowing the driver to handle the condition without waiting.
>
> Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
> ---
> Previous earily version pinctrl-generic-mux manage this resouce to avoid
> call mux_state_select(). But review or respin patch, remove these check.
> anyways mux_state_try_select() better method.

OK makes sense, patch applied!

Yours,
Linus Walleij