diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-05-13 13:05:54 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-05-13 15:05:23 -0700 |
commit | 7188b6f4134624c7158cc81ff1c59df590761761 (patch) | |
tree | 4d221f7d99d9e46b325341c0c16f9fd0fcb1b9e9 /include | |
parent | 7e24fdb4b119edd513e0ec7a0a81ca0dab3455dd (diff) | |
download | chrome-ec-7188b6f4134624c7158cc81ff1c59df590761761.tar.gz |
Tidy comments for I2C passthru message
No code changes; just fix a few comments.
BUG=chrome-os-partner:18778
BRANCH=none
TEST=build code
Change-Id: I7ed32b5af01a6dbd401334175b5a1b5b4786cac7
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/51017
Reviewed-by: Doug Anderson <dianders@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/ec_commands.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index 56df6291d4..4f226f7abf 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -1275,20 +1275,20 @@ struct ec_response_power_info { struct ec_params_i2c_passthru_msg { uint16_t addr_flags; /* I2C slave address (7 or 10 bits) and flags */ - uint16_t len; /* Number of bytes to write*/ + uint16_t len; /* Number of bytes to read or write */ } __packed; struct ec_params_i2c_passthru { uint8_t port; /* I2C port number */ uint8_t num_msgs; /* Number of messages */ struct ec_params_i2c_passthru_msg msg[]; - /* Data for all messages is concatenated here */ + /* Data to write for all messages is concatenated here */ } __packed; struct ec_response_i2c_passthru { uint8_t i2c_status; /* Status flags (EC_I2C_STATUS_...) */ uint8_t num_msgs; /* Number of messages processed */ - uint8_t data[]; /* Data for all messages concatenated here */ + uint8_t data[]; /* Data read by messages concatenated here */ } __packed; |