[PATCH 1/3] pinctrl: don't fall back to pinctrl_select_state_simple()
Simon Glass
sjg at chromium.org
Wed Jan 18 20:42:15 CET 2023
On Wed, 18 Jan 2023 at 06:45, Marek Vasut <marex at denx.de> wrote:
>
> 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>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list