Thread (60 messages) 60 messages, 12 authors, 2012-11-14
STALE4960d
Revisions (7)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 [diff vs current]
  4. v1 [diff vs current]
  5. v2 [diff vs current]
  6. v2 [diff vs current]
  7. v2 current

[PATCH v2 3/7] i2c: omap: also complete() when stat becomes zero

From: Santosh Shilimkar <hidden>
Date: 2012-10-25 12:43:16
Also in: linux-i2c, linux-omap

On Thursday 25 October 2012 05:55 PM, Felipe Balbi wrote:
In case we loop on IRQ handler until stat is
finally zero, we would end up in a situation
where all I2C transfers would misteriously
timeout because we were not calling complete()
in that situation.

Fix the issue by moving omap_i2c_complete_cmd()
call inside the 'out' label.

Signed-off-by: Felipe Balbi <redacted>
---
Looks fine. Have you hit this issue in any corner case ?

Regards
santosh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help