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>
This commit is contained in:
committed by
Martin Roth
parent
5cdd9aab34
commit
1895838e7a
@@ -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 */
|
||||
|
@@ -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
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user