Dan Carpenter d8ac619a17 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: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-08-08 17:05:43 -04:00
..
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2023-05-04 13:03:54 -04:00
2022-12-23 10:15:13 -05:00
2022-01-13 07:57:49 -05:00
2023-02-01 14:17:29 +08:00
2022-01-24 10:35:10 -05:00
2023-07-14 12:52:18 -04:00
2022-06-08 14:00:22 -04:00
2021-03-27 13:59:36 +13:00
2021-04-12 17:45:40 -04:00
2022-02-28 11:59:35 +05:30