From 1895838e7a3807a6fce324f0dfed193a3821f6df Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 7 Aug 2018 12:23:16 +0200 Subject: src/drivers: Fix typo Change-Id: I9144937b72a98517cbd41c093cff7bad543b4140 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/27916 Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) --- src/drivers/i2c/designware/dw_i2c.c | 2 +- src/drivers/i2c/generic/chip.h | 2 +- src/drivers/i2c/ww_ring/ww_ring.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/drivers/i2c') 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; } -- cgit v1.2.3