commit | 0bdfe0cb803dce699ff337c35d8e97ac355fa417 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Wed Sep 12 16:28:16 2012 +0530 |
committer | Wolfram Sang <w.sang@pengutronix.de> | Wed Sep 12 15:04:18 2012 +0200 |
tree | e8bb0809732d48f85c7eb44d15fed0ff36cf8f30 | |
parent | 6d8451d55a2a9467bc9647aafe8b6faee0251687 [diff] |
i2c: omap: sanitize exit path move the goto out label one line down, so that it can be used when stat is read as zero. All other exits, can be done with a break statement. While at that, also break out as soon as we complete draining IRQ, since at that time we know we transferred everything there was to be transferred. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>