diff options
| author | Michael Walle <[email protected]> | 2023-01-18 13:12:22 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-01-27 12:51:26 -0500 |
| commit | 72b8c6d1ebfd40a6ee6be0345ff7abb30c9f9e3d (patch) | |
| tree | e9151f4fdda807982c521eade2078c0e6f5d1fc9 /scripts | |
| parent | 337bc26f05e85bf06647a17bad9485a3428c9a2b (diff) | |
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: Michael Walle <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
