Hi, This patch is to fix I2C transmit overflow error. I guess it should fix the OSK5912 error. I dont have the board to test it. Regards, Chandra Shekhar Signed-off-by: Chandra Shekhar< x0044955@xxxxxx> --- drivers/i2c/busses/i2c-omap.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: linux-omap-2.6/drivers/i2c/busses/i2c-omap.c =================================================================== --- linux-omap-2.6.orig/drivers/i2c/busses/i2c-omap.c 2008-08-07 19:30:00.000000000 +0530 +++ linux-omap-2.6/drivers/i2c/busses/i2c-omap.c 2008-08-07 19:30:19.000000000 +0530 @@ -661,6 +661,7 @@ } } omap_i2c_ack_stat(dev, stat & (OMAP_I2C_STAT_RRDY | OMAP_I2C_STAT_RDR)); + continue; } if (stat & (OMAP_I2C_STAT_XRDY | OMAP_I2C_STAT_XDR)) { u8 num_bytes = 1; @@ -694,13 +695,14 @@ omap_i2c_write_reg(dev, OMAP_I2C_DATA_REG, w); } omap_i2c_ack_stat(dev, stat & (OMAP_I2C_STAT_XRDY | OMAP_I2C_STAT_XDR)); + continue; } if (stat & OMAP_I2C_STAT_ROVR) { dev_err(dev->dev, "Receive overrun\n"); dev->cmd_err |= OMAP_I2C_STAT_ROVR; } if (stat & OMAP_I2C_STAT_XUDF) { - dev_err(dev->dev, "Transmit overflow\n"); + dev_err(dev->dev, "Transmit underflow\n"); dev->cmd_err |= OMAP_I2C_STAT_XUDF; } } -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html