summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Brandmeyer <jbrandmeyer@chromium.org>2018-09-28 13:11:26 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-09-28 20:37:10 -0700
commitc06af8d8c2326a3ebc096dfaa4a2640c1ded1333 (patch)
tree3c9c57f85dd571269dd50ba140b032f244f8be4f
parent3723c724d9da5fb3e3d4c1e4ea7713f487013a02 (diff)
downloadchrome-ec-c06af8d8c2326a3ebc096dfaa4a2640c1ded1333.tar.gz
i2c: Elide vestigial comment
TEST=buildall BRANCH=none BUG=none Change-Id: Ifd211a9e37cbb0f2a613a5a5573a7ee8b9315604 Signed-off-by: Jonathan Brandmeyer <jbrandmeyer@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1252327 Reviewed-by: Edward Hill <ecgh@chromium.org>
-rw-r--r--common/i2c_master.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/i2c_master.c b/common/i2c_master.c
index b4b403f877..ec2cad96df 100644
--- a/common/i2c_master.c
+++ b/common/i2c_master.c
@@ -352,9 +352,7 @@ int i2c_write_block(int port, int slave_addr, int offset, const uint8_t *data,
/*
* Split into two transactions to avoid the stack space consumption of
- * appending the destination address with the data array. Even if the
- * first transaction fails, unconditionally perform the second one in
- * order to have a better chance at sending out the stop bit.
+ * appending the destination address with the data array.
*/
i2c_lock(port, 1);
rv = i2c_xfer_unlocked(port, slave_addr, &reg_address, 1, NULL, 0,