
27 Jul
2023
27 Jul
'23
2:49 a.m.
On Wed, 26 Jul 2023 at 00:58, Dan Carpenter dan.carpenter@linaro.org wrote:
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
drivers/misc/cros_ec.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org