Searched hist:a033e9375e181f1f8613471f5f5e4cff6d041b71 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/pinctrl/ |
| H A D | pinctrl-uclass.c | a033e9375e181f1f8613471f5f5e4cff6d041b71 Wed Jan 18 12:12:22 UTC 2023 Michael Walle <michael@walle.cc> UPSTREAM: 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.
Change-Id: I51b997c0e111736a37f6e22a4f6ad5f5b47a1eab Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Marek Vasut <marex@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> (cherry picked from commit 72b8c6d1ebfd40a6ee6be0345ff7abb30c9f9e3d) Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
|