diff options
author | Jan Weitzel <j.weitzel@phytec.de> | 2011-12-07 20:50:16 +0100 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2012-01-17 23:44:54 +0100 |
commit | 78e1cf42ee3efd2c3e8af0b97cf0a0a570cc0c1f (patch) | |
tree | 789fb9325b72a6ee86c474b7f98dc3767661cd45 /Documentation/devicetree | |
parent | I2C: OMAP: correct SYSC register offset for OMAP4 (diff) | |
download | linux-78e1cf42ee3efd2c3e8af0b97cf0a0a570cc0c1f.tar.xz linux-78e1cf42ee3efd2c3e8af0b97cf0a0a570cc0c1f.zip |
I2C: OMAP: NACK without STP
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 nearly the same.
Removing the OMAP_I2C_CON_STP part in the isr fix the problem.
Tested on OMAP4430 and OMAP3530 (here NACK was not a problem)
Fixes also booting on 2430sdp.
Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions