Re: [PATCH] ARM: OMAP2+ i2c NACK without STP

2012-01-04 Thread Mark Olleson
I have found another circumstance in which the bus locks up which is possibly a regression caused by this patch. When performing a transfer with repeat starts, if one of the parts, that is is NOT the last in the sequence AND is a master-write AND is NACKed by the remote device,

Re: [PATCH] ARM: OMAP2+ i2c NACK without STP

2012-01-03 Thread Kevin Hilman
T Krishnamoorthy, Balaji balaj...@ti.com writes: On Tue, Jun 14, 2011 at 4:24 PM, Jan Weitzel j.weit...@phytec.de wrote: On OMAP4 OMAP_I2C_STAT_NACK is causing a timeout on the next access. The isr cleans all flags in OMAP_I2C_CON_REG by setting OMAP_I2C_CON_STP OMAP_I2C_CON_STP is also set

Re: [PATCH] ARM: OMAP2+ i2c NACK without STP

2011-12-27 Thread T Krishnamoorthy, Balaji
On Tue, Jun 14, 2011 at 4:24 PM, Jan Weitzel j.weit...@phytec.de wrote: On OMAP4 OMAP_I2C_STAT_NACK is causing a timeout on the next access. The isr cleans all flags in OMAP_I2C_CON_REG by setting OMAP_I2C_CON_STP OMAP_I2C_CON_STP is also set in omap_i2c_xfer_msg on the last message.

[PATCH] ARM: OMAP2+ i2c NACK without STP

2011-06-14 Thread Jan Weitzel
On OMAP4 OMAP_I2C_STAT_NACK is causing a timeout on the next access. The isr cleans all flags in OMAP_I2C_CON_REG by setting OMAP_I2C_CON_STP OMAP_I2C_CON_STP is also set in omap_i2c_xfer_msg on the last message. According to the TI TSR the sequence for OMAP_I2C_STAT_NACK and OMAP_I2C_STAT_AL are