So that callers of cros_ec_cmd_xfer don't have to repeat boilerplate
code when checking for errors from the EC side.
Signed-off-by: Tomeu Vizoso
Reviewed-by: Benson Leung
---
Changes in v6: None
Changes in v5:
- Check explicitly for
So that callers of cros_ec_cmd_xfer don't have to repeat boilerplate
code when checking for errors from the EC side.
Signed-off-by: Tomeu Vizoso
Reviewed-by: Benson Leung
---
Changes in v6: None
Changes in v5:
- Check explicitly for !EC_RES_SUCCESS as suggested by Benson Leung.
Changes in v4:
2 matches
Mail list logo