]> git.openpandora.org Git - pandora-kernel.git/commitdiff
usb: musb: cppi41: exit early when tx fifo is empty
authorFelipe Balbi <balbi@ti.com>
Fri, 27 Feb 2015 19:21:14 +0000 (13:21 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:32 +0000 (15:33 -0500)
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>

No differences found