aboutsummaryrefslogtreecommitdiff
path: root/hw/p8-i2c.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-08-26 16:40:10 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-08-26 16:40:10 +1000
commit9eeb5af64be73fb2ca981330b39d0b46acc69057 (patch)
treee6ca9e9388b07aca66da5f86019c8ce0a58715aa /hw/p8-i2c.c
parentdd3c3ec045ff47adb5531a49bda50e4c86cd38fa (diff)
downloadskiboot-9eeb5af64be73fb2ca981330b39d0b46acc69057.zip
skiboot-9eeb5af64be73fb2ca981330b39d0b46acc69057.tar.gz
skiboot-9eeb5af64be73fb2ca981330b39d0b46acc69057.tar.bz2
Fix spelling mistakes
See https://github.com/lucasdemarchi/codespel Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/p8-i2c.c')
-rw-r--r--hw/p8-i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/p8-i2c.c b/hw/p8-i2c.c
index 775e777..dfb26d4 100644
--- a/hw/p8-i2c.c
+++ b/hw/p8-i2c.c
@@ -294,7 +294,7 @@ static bool p8_i2c_has_irqs(struct p8_i2c_master *master)
/* The i2c interrurpt was only added to Murano DD2.1 and Venice
* DD2.0. When operating without interrupts, we need to bump the
* timeouts as we rely solely on the polls from Linux which can
- * be up to 2s appart !
+ * be up to 2s apart !
*
* Also we don't have interrupts for the Centaur i2c.
*/
@@ -466,7 +466,7 @@ static void p8_i2c_status_error(struct p8_i2c_master_port *port,
*/
if (!(status & I2C_STAT_NACK_RCVD_ERR)) {
log_simple_error(&e_info(OPAL_RC_I2C_TRANSFER),
- "I2C: Transfer error occured\n");
+ "I2C: Transfer error occurred\n");
p8_i2c_print_debug_info(port, req);
}