aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/i2c/busses/i2c-omap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index bf0569eefeb8..7c409606f20c 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -1176,7 +1176,8 @@ omap_i2c_probe(struct platform_device *pdev)
1176 1176
1177 dev->errata = 0; 1177 dev->errata = 0;
1178 1178
1179 if (dev->flags & OMAP_I2C_FLAG_APPLY_ERRATA_I207) 1179 if (dev->rev >= OMAP_I2C_REV_ON_2430 &&
1180 dev->rev < OMAP_I2C_REV_ON_4430_PLUS)
1180 dev->errata |= I2C_OMAP_ERRATA_I207; 1181 dev->errata |= I2C_OMAP_ERRATA_I207;
1181 1182
1182 if (dev->rev <= OMAP_I2C_REV_ON_3430_3530) 1183 if (dev->rev <= OMAP_I2C_REV_ON_3430_3530)