Files
android_kernel_xiaomi_sm8450/drivers/usb/dwc3
Felipe Balbi 0e146028ee usb: dwc3: gadget: issue ENDTRANSFER conditional on resource_index
Because of recent changes to transfer handling on
DWC3, we will not get XferComplete unless we
completely fill up our TRB ring. This means that we
might get a Reset or Disconnect without getting a
XferComplete first.

In order to correctly release our allocated Transfer
Resource, we must issue ENDTRANSFER command whenever
dep->resource_index is valid.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2016-06-21 10:38:44 +03:00
..
2016-06-21 10:38:43 +03:00
2016-06-20 12:32:41 +03:00
2015-03-10 15:33:33 -05:00
2015-05-13 12:06:52 -05:00