usb: dwc3: gadget: start transfer on XFER_COMPLETE
authorFelipe Balbi <balbi@ti.com>
Mon, 21 Sep 2015 19:32:00 +0000 (14:32 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 28 Sep 2015 19:17:26 +0000 (14:17 -0500)
commit8a1a9c9e4503f246b1d4339c5be3485e14c31858
tree55b414f041b6d3a7c45b56ee616db6d62b1e39d8
parent9903b6bedd389a033a3da0308f220571c7f68e7a
usb: dwc3: gadget: start transfer on XFER_COMPLETE

if by the time we get to XFER_COMPLETE we have
pending requests to be processed, instead of waiting
for a following XFER_NOT_READY, let's start the request
right away and, maybe, save the time of a few NAKs
due to lack of started transfers.

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