Skip to content

Commit 6114978

Browse files
Moiz SonasathBen Dooks
authored andcommitted
i2c-omap: Enable workaround for Errata 1.153 based on
Silicon Errata 1.153 has been fixed on OMAP 3630|4430 with the use of a later version of I2C IP block. The errata impacts OMAP 2420|2430|3430, enable the workaround for these based on I2C IP block revision number instead of OMAP CPU type Signed-off-by: Moiz Sonasath <m-sonasath@ti.com> Signed-off-by: Vikram Pandita <vikram.pandita@ti.com Reviewed-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
1 parent dd11976 commit 6114978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/busses/i2c-omap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ omap_i2c_isr(int this_irq, void *dev_id)
784784
* memory to the I2C interface.
785785
*/
786786

787-
if (cpu_is_omap34xx()) {
787+
if (dev->rev <= OMAP_I2C_REV_ON_3430) {
788788
while (!(stat & OMAP_I2C_STAT_XUDF)) {
789789
if (stat & (OMAP_I2C_STAT_NACK | OMAP_I2C_STAT_AL)) {
790790
omap_i2c_ack_stat(dev, stat & (OMAP_I2C_STAT_XRDY | OMAP_I2C_STAT_XDR));

0 commit comments

Comments
 (0)