commit | 8a369de6ff1456efe60bc7ebefe3d323fece0a37 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Aug 22 07:54:58 2024 -0600 |
committer | Tom Rini <trini@konsulko.com> | Fri Aug 23 15:58:41 2024 -0600 |
tree | ea455f0bdffbd977acd736d7adba18a30f5e4a89 | |
parent | 1847129025e04d41f4fd0396fa0336e3d544ded0 [diff] |
spl: mmc: Handle error codes consistently Use 'ret' as the return code, since it may not be an error and this is the common name in U-Boot. Make sure to return the error code when given, rather than transforming it into -1 (-EPERM). Signed-off-by: Simon Glass <sjg@chromium.org>