summaryrefslogtreecommitdiff
path: root/chip/g/i2cp.c
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-01-11 11:27:12 -0800
committerCommit Bot <commit-bot@chromium.org>2021-01-11 21:55:20 +0000
commitec643f0d99397eafa09ab39b2d7dd6b968bd70d8 (patch)
tree76109b01c5760134d13384678b5ce126e29fba8c /chip/g/i2cp.c
parent17baff2bd51e5b14fa9992f4cddca96742a7dea8 (diff)
downloadchrome-ec-stabilize-rust-13720.B-cr50_stab.tar.gz
coil: cleanup commentsstabilize-rust-13720.B-cr50_stab
BUG=b:175244613 TEST=make buildall -j Change-Id: Icbd143b072fdd5df3b67d7e5a09ee6c01a77f6b9 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2622889 Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Diffstat (limited to 'chip/g/i2cp.c')
-rw-r--r--chip/g/i2cp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/chip/g/i2cp.c b/chip/g/i2cp.c
index 09d7235be6..ce98140289 100644
--- a/chip/g/i2cp.c
+++ b/chip/g/i2cp.c
@@ -203,7 +203,7 @@ DECLARE_DEFERRED(poll_read_state);
* happens to fail and stops clocking.
*
* For example when the i2cp driver is:
- * 1) Transmitting an ACK for the slave address byte.
+ * 1) Transmitting an ACK for the peripheral address byte.
* 2) Transmitting an ACK for a write transaction.
* 3) Transmitting byte data for a read transaction.
*
@@ -216,8 +216,8 @@ DECLARE_DEFERRED(poll_read_state);
* We don't have to deal with the scenario where the driver gets stuck
* transmitting a 1 on SDA since the controller can recover the bus by issuing a
* normal transaction. The controller will at minimum clock 9 times on any
- * transaction. This is enough for the slave to complete its current operation
- * and NACK.
+ * transaction. This is enough for the peripheral to complete its current
+ * operation and NACK.
*/
static void poll_read_state(void)
{