summaryrefslogtreecommitdiffstats
path: root/Documentation/development-process
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2013-01-20 20:37:02 +0200
committerWolfram Sang <w.sang@pengutronix.de>2013-01-22 16:17:05 +0100
commit9eb13cf3ecf67a0ff3114d6b66878a1149f96b7d (patch)
tree3802ee031e5774d7c4b3efa725514affc52edb64 /Documentation/development-process
parent2c5de558cd228e6d9ae633fb318f18942c7248f1 (diff)
downloadblackbird-obmc-linux-9eb13cf3ecf67a0ff3114d6b66878a1149f96b7d.tar.gz
blackbird-obmc-linux-9eb13cf3ecf67a0ff3114d6b66878a1149f96b7d.zip
i2c: omap: fix draining irq handling
Commit 0bdfe0cb803dce699ff337c35d8e97ac355fa417 (i2c: omap: sanitize exit path) changed the interrupt handler to exit early and complete the transfer after the draining IRQ is handled. As a result, the ARDY may not be cleared properly, and it may cause all future I2C transfers to timeout with "timeout waiting for bus ready". This is reproducible at least with N900 when twl4030_gpio makes a long write (> FIFO size) during the probe (http://marc.info/?l=linux-omap&m=135818882610432&w=2). The fix is to continue until we get ARDY interrupt that completes the transfer. Tested with 3.8-rc4 + N900: 20 boots in a row without errors; without the patch the problem triggers after few reboots. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'Documentation/development-process')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud