diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-08-07 12:23:16 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-08-10 21:25:30 +0000 |
commit | 1895838e7a3807a6fce324f0dfed193a3821f6df (patch) | |
tree | 1d5592b7330daae19332336be6bc32af89b3abf8 /src/drivers/i2c | |
parent | 5cdd9aab34555717768f56646f80aafc13cf895e (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')
-rw-r--r-- | src/drivers/i2c/designware/dw_i2c.c | 2 | ||||
-rw-r--r-- | src/drivers/i2c/generic/chip.h | 2 | ||||
-rw-r--r-- | src/drivers/i2c/ww_ring/ww_ring.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/i2c/designware/dw_i2c.c b/src/drivers/i2c/designware/dw_i2c.c index 12284b6812..d190d869e2 100644 --- a/src/drivers/i2c/designware/dw_i2c.c +++ b/src/drivers/i2c/designware/dw_i2c.c @@ -360,7 +360,7 @@ static int _dw_i2c_transfer(unsigned int bus, const struct i2c_msg *segments, } /* The assumption is that the host controller is disabled -- either - after running this function or from performing the intialization + after running this function or from performing the initialization sequence in dw_i2c_init(). */ /* Set target slave address */ diff --git a/src/drivers/i2c/generic/chip.h b/src/drivers/i2c/generic/chip.h index 2495e7c8c6..9e2abb9ed7 100644 --- a/src/drivers/i2c/generic/chip.h +++ b/src/drivers/i2c/generic/chip.h @@ -35,7 +35,7 @@ struct drivers_i2c_generic_config { struct acpi_gpio irq_gpio; /* - * This flag will add a device propery which will indicate + * This flag will add a device property which will indicate * to the OS that it should probe this device before adding it. * * This can be used to declare a device that may not exist on 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; } |