diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-stu300.c')
-rw-r--r-- | drivers/i2c/busses/i2c-stu300.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-stu300.c b/drivers/i2c/busses/i2c-stu300.c index 266135ddf7fa..99879617e686 100644 --- a/drivers/i2c/busses/i2c-stu300.c +++ b/drivers/i2c/busses/i2c-stu300.c | |||
@@ -497,7 +497,7 @@ static int stu300_set_clk(struct stu300_dev *dev, unsigned long clkrate) | |||
497 | u32 val; | 497 | u32 val; |
498 | int i = 0; | 498 | int i = 0; |
499 | 499 | ||
500 | /* Locate the apropriate clock setting */ | 500 | /* Locate the appropriate clock setting */ |
501 | while (i < ARRAY_SIZE(stu300_clktable) - 1 && | 501 | while (i < ARRAY_SIZE(stu300_clktable) - 1 && |
502 | stu300_clktable[i].rate < clkrate) | 502 | stu300_clktable[i].rate < clkrate) |
503 | i++; | 503 | i++; |
@@ -644,7 +644,7 @@ static int stu300_send_address(struct stu300_dev *dev, | |||
644 | ret = stu300_await_event(dev, STU300_EVENT_6); | 644 | ret = stu300_await_event(dev, STU300_EVENT_6); |
645 | 645 | ||
646 | /* | 646 | /* |
647 | * Clear any pending EVENT 6 no matter what happend during | 647 | * Clear any pending EVENT 6 no matter what happened during |
648 | * await_event. | 648 | * await_event. |
649 | */ | 649 | */ |
650 | val = stu300_r8(dev->virtbase + I2C_CR); | 650 | val = stu300_r8(dev->virtbase + I2C_CR); |