summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/ww_ring
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-08-07 12:23:16 +0200
committerMartin Roth <martinroth@google.com>2018-08-10 21:25:30 +0000
commit1895838e7a3807a6fce324f0dfed193a3821f6df (patch)
tree1d5592b7330daae19332336be6bc32af89b3abf8 /src/drivers/i2c/ww_ring
parent5cdd9aab34555717768f56646f80aafc13cf895e (diff)
src/drivers: Fix typo
Change-Id: I9144937b72a98517cbd41c093cff7bad543b4140 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/27916 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/i2c/ww_ring')
-rw-r--r--src/drivers/i2c/ww_ring/ww_ring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/i2c/ww_ring/ww_ring.c b/src/drivers/i2c/ww_ring/ww_ring.c
index 61dfae7dcf..306ac4d264 100644
--- a/src/drivers/i2c/ww_ring/ww_ring.c
+++ b/src/drivers/i2c/ww_ring/ww_ring.c
@@ -74,7 +74,7 @@
#define LP55231_RESET_VALUE 0xff
/*
- * The controller has 192 bytes of SRAM for code/data, availabe as six 32 byte
+ * The controller has 192 bytes of SRAM for code/data, available as six 32 byte
* pages.
*/
#define LP55231_PROG_PAGE_SIZE 32
@@ -119,7 +119,7 @@ static int ledc_transfer(TiLp55231 *ledc, struct i2c_msg *segs,
while (max_attempts--) {
rv = i2c_transfer(ledc->i2c_bus, segs, seg_count);
- /* Accessing reset regsiter is expected to fail. */
+ /* Accessing reset register is expected to fail. */
if (!rv || reset)
break;
}