Skip to content
Commit 68dbac0a authored by Ben Walsh's avatar Ben Walsh Committed by Tzung-Bi Shih
Browse files

platform/chrome: cros_ec_lpc: MEC access can return error code



cros_ec_lpc_io_bytes_mec was returning a u8 checksum of all bytes
read/written, which didn't leave room to indicate errors. Change this
u8 to an int where negative values indicate an error, and non-negative
values are the checksum as before.

Tested-by: default avatarDustin L. Howett <dustin@howett.net>
Signed-off-by: default avatarBen Walsh <ben@jubnut.com>
Link: https://lore.kernel.org/r/20240605063351.14836-2-ben@jubnut.com


Signed-off-by: default avatarTzung-Bi Shih <tzungbi@kernel.org>
parent 106d6739
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment