usb: dwc3: gadget: giveback request if we can't kick it
commit15b8d9332b927d76a0b26cf70c564756d1648133
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 22 Sep 2016 07:59:12 +0000 (22 10:59 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 31 Oct 2016 09:15:35 +0000 (31 11:15 +0200)
tree9b7748827d84b290da04ab869f11b073ac237ef6
parent8897a761c371ceefda98570953185daa3c059ad1
usb: dwc3: gadget: giveback request if we can't kick it

There might be situations where a Start Transfer
command might fail, if that ever happens, instead of
simply removing the request from our list, we should
give the request back to the gadget driver,
otherwise we might eventually starve it from requests.

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