Skip to content
Snippets Groups Projects
Commit d8ac619a authored by Dan Carpenter's avatar Dan Carpenter Committed by Tom Rini
Browse files

cros_ec: Fix an error code is cros_ec_get_sku_id()


The ec_command_inptr() function returns negative error codes or
the number of bytes that it was able to read.  The cros_ec_get_sku_id()
function should return negative error codes.  Right now it returns
positive error codes or negative byte counts.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent cc05d352
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