Commit 585127fa authored by Jett Rink's avatar Jett Rink
Browse files

cleanup: fix return description

The ec_command returns 0 >= if it is successful


Change-Id: Icdb325338fa193ffb3f33c378f95e593f2f21839
Signed-off-by: default avatarJett Rink <>

Reviewed-by: default avatarRaul E Rangel <>
parent 367feebb
......@@ -97,7 +97,7 @@ typedef struct CrosEc
* @param dout_len Outgoing length in bytes
* @param din Where to put the incoming data from EC
* @param din_len Max number of bytes to accept from EC
* @return 0 if ok, -1 on error
* @return negative error code, or positive num bytes received.
int ec_command(CrosEc *ec, int cmd, int cmd_version,
const void *dout, int dout_len,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment