commit | 1f475cd3e352c682bd63d3c0d17fbf0f497b3972 | [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 | bd928e152caf6db78f2071cef96486dceb48f378 [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>