Skip to content
Commit 25b358dc authored by Michael Walle's avatar Michael Walle Committed by Tom Rini
Browse files

pinctrl: don't fall back to pinctrl_select_state_simple()



If CONFIG_PINCTRL_FULL is enabled, never fall back to the simple
implementation. pinctrl_select_state() is called for each device and it
is expected to fail. A fallback to the simple imeplementation doesn't
make much sense.

To keep the return code consistent, we need to change the -EINVAL (which
was ignored before) to -ENOSYS.

Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent cfb20080
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment