[PATCH 1/3] pinctrl: don't fall back to pinctrl_select_state_simple()

Marek Vasut marex at denx.de
Wed Jan 18 14:42:30 CET 2023


On 1/18/23 13:12, Michael Walle wrote:
> 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: Michael Walle <michael at walle.cc>

Reviewed-by: Marek Vasut <marex at denx.de>


More information about the U-Boot mailing list