aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index b606db85525..ad8d2010c92 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -339,7 +339,7 @@ static int omap_i2c_init(struct omap_i2c_dev *dev)
339 * to get longer filter period for better noise suppression. 339 * to get longer filter period for better noise suppression.
340 * The filter is iclk (fclk for HS) period. 340 * The filter is iclk (fclk for HS) period.
341 */ 341 */
342 if (dev->speed > 400 || cpu_is_omap_2430()) 342 if (dev->speed > 400 || cpu_is_omap2430())
343 internal_clk = 19200; 343 internal_clk = 19200;
344 else if (dev->speed > 100) 344 else if (dev->speed > 100)
345 internal_clk = 9600; 345 internal_clk = 9600;