git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d8451d
)
i2c: omap: sanitize exit path
author
Felipe Balbi
<balbi@ti.com>
Wed, 12 Sep 2012 10:58:16 +0000
(16:28 +0530)
committer
Wolfram Sang
<w.sang@pengutronix.de>
Wed, 12 Sep 2012 13:04:18 +0000
(15:04 +0200)
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>
drivers/i2c/busses/i2c-omap.c
patch
|
blob
|
history
diff --cc
drivers/i2c/busses/i2c-omap.c
Simple merge