[PATCH 1/3] pinctrl: don't fall back to pinctrl_select_state_simple()
Tom Rini
trini at konsulko.com
Fri Jan 27 20:07:34 CET 2023
On Wed, Jan 18, 2023 at 01:12:22PM +0100, 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>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230127/30ac3151/attachment.sig>
More information about the U-Boot
mailing list