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

cleanup: fix return description

The ec_command returns 0 >= if it is successful

BRANCH=none
BUG=none
TEST=none

Change-Id: Icdb325338fa193ffb3f33c378f95e593f2f21839
Signed-off-by: default avatarJett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1124670Reviewed-by: default avatarRaul E Rangel <rrangel@chromium.org>
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,
......
Markdown is supported
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