summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/ww_ring
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/ww_ring')
-rw-r--r--src/drivers/i2c/ww_ring/ww_ring.c4
-rw-r--r--src/drivers/i2c/ww_ring/ww_ring.h4
-rw-r--r--src/drivers/i2c/ww_ring/ww_ring_programs.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/drivers/i2c/ww_ring/ww_ring.c b/src/drivers/i2c/ww_ring/ww_ring.c
index 98c162bb4d..3956a19841 100644
--- a/src/drivers/i2c/ww_ring/ww_ring.c
+++ b/src/drivers/i2c/ww_ring/ww_ring.c
@@ -310,7 +310,7 @@ static int ledc_init_validate(TiLp55231 *ledc)
}
/*
- * Signal Depthcharge that the controller has been initiazed by
+ * Signal Depthcharge that the controller has been initialized by
* coreboot.
*/
data = LP55231_VARIABLE_COOKIE;
@@ -340,7 +340,7 @@ int ww_ring_display_pattern(unsigned int i2c_bus, enum display_pattern pattern)
/*
* First stop all running programs to avoid
- * inerference between the controllers.
+ * interference between the controllers.
*/
for (j = 0; j < WW_RING_NUM_LED_CONTROLLERS; j++) {
if (!lp55231s[j].dev_addr)
diff --git a/src/drivers/i2c/ww_ring/ww_ring.h b/src/drivers/i2c/ww_ring/ww_ring.h
index db724d3704..b43b9b851b 100644
--- a/src/drivers/i2c/ww_ring/ww_ring.h
+++ b/src/drivers/i2c/ww_ring/ww_ring.h
@@ -5,12 +5,12 @@
/*
* Different types of display patterns to be shown by the LED ring while
- * contrlled by coreboot.
+ * controlled by coreboot.
*/
enum display_pattern {
WWR_ALL_OFF, /* Turn the LEDs off. */
WWR_RECOVERY_PUSHED, /* Recovery button push detected on start up. */
- WWR_WIPEOUT_REQUEST, /* Held long enough for wipout request. */
+ WWR_WIPEOUT_REQUEST, /* Held long enough for wipeout request. */
WWR_RECOVERY_REQUEST, /* Held long enough for recovery request. */
WWR_NORMAL_BOOT /* No buttons pressed, normal boot sequence. */
};
diff --git a/src/drivers/i2c/ww_ring/ww_ring_programs.c b/src/drivers/i2c/ww_ring/ww_ring_programs.c
index 73dd4dabf1..da7cafc173 100644
--- a/src/drivers/i2c/ww_ring/ww_ring_programs.c
+++ b/src/drivers/i2c/ww_ring/ww_ring_programs.c
@@ -89,7 +89,7 @@ static const TiLp55231Program solid_000000_program = {
* The three internal engines seem to be competing for resources and get out
* of sync in seconds if left running asynchronously.
*
- * When solid patterns are deployed with instanteneous color intensity
+ * When solid patterns are deployed with instantaneous color intensity
* changes, all three LEDs can be controlled by one engine in sequential
* accesses. But the controllers still need to be synchronized.
*