commit | af63429cf046210d7313805b579dd779d10ad1c0 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Fri Feb 27 13:21:14 2015 -0600 |
committer | Felipe Balbi <balbi@ti.com> | Tue Mar 10 15:33:32 2015 -0500 |
tree | 1fb9054072c44aafcb6e5a71de648cb2fc5a15d7 | |
parent | 1b61625f8b5d87caf9633d7dbfbaf1ea8270036d [diff] |
usb: musb: cppi41: exit early when tx fifo is empty as soon as we find out tx fifo is empty, there's no need to break out of the loop just to have another branch to complete the transfer. We can just complete transfer and exit early. Signed-off-by: Felipe Balbi <balbi@ti.com>