Skip to content
Snippets Groups Projects
Commit 0badb23d authored by Simon Glass's avatar Simon Glass
Browse files

spi: Correct two error return values


When an error number is provided we should use it, not change it. This fixes
the SPI and SPI flash tests.

One of these is long-standing. The other seems to have been introduced by
commit 1e90d9fd (sf: Move read_id code to sf_ops).

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Fixes: 1e90d9fd (sf: Move read_id code to sf_ops)
Reviewed-by: default avatarJagan Teki <jteki@openedev.com>
Tested-by: default avatarJagan Teki <jteki@openedev.com>
parent ffe276d2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment