linux/drivers/pinctrl/pinctrl-generic-mux.c
Frank Li 15532f9cbb pinctrl: pinctrl-generic-mux: use mux_state_try_select()
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@nxp.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
2026-07-24 23:41:58 +02:00

184 lines
4.6 KiB