]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: gadget: drop unnecessary loop when cleaning up TRBs
authorFelipe Balbi <balbi@ti.com>
Thu, 4 Sep 2014 18:14:49 +0000 (13:14 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 9 Mar 2015 15:38:49 +0000 (10:38 -0500)
commit08678f623039c2531b53fe95be4d9a58fd052059
treefb595ad1844b23f48b6cd5dd938d19eff4a80f5f
parent24df7c54185f4d15eb0789f75fbd459058ffe379
usb: dwc3: gadget: drop unnecessary loop when cleaning up TRBs

Now that we're using XFERINPROGRESS for all endpoint
types (except Control), we will *always* be completing
one TRB at a time, so it's safe to remove the loop
from dwc3_cleanup_done_reqs.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c