linux/drivers/usb/dwc3
Felipe Balbi 35b2719e72 usb: dwc3: gadget: make to increment req->remaining in all cases
Sometimes, we might get a completion for a TRB which is left with HWO
bit. Even in these cases, we should increment req->remaining to
properly report total transferred size. I noticed this while debuggin
a separate problem seen with MSC tests from USBCV. Sometimes we would
erroneously report a completion for a 512-byte transfer when, in
reality, we transferred 0 bytes.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-03-08 13:56:37 +02:00
..
core.c usb: patches for v4.10 merge window 2016-11-18 16:02:15 +01:00
core.h usb: dwc3: gadget: align transfers to wMaxPacketSize 2017-01-24 11:04:13 +02:00
debug.h usb: dwc3: trace: purge dwc3_trace() 2016-11-08 12:52:13 +02:00
debugfs.c usb: dwc3: add DWC3_GUCTL1 reg for debug 2016-06-20 12:32:46 +03:00
dwc3-exynos.c USB: changes for v4.11 2017-01-26 15:36:28 +01:00
dwc3-keystone.c usb: dwc3: keystone: drop dma_mask configuration 2016-04-06 16:36:01 +03:00
dwc3-of-simple.c usb: dwc3: of-simple: add compatible for Cavium 2016-09-13 09:28:59 +03:00
dwc3-omap.c usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox() 2017-03-06 16:59:34 +02:00
dwc3-pci.c usb: dwc3: pci: add Intel Gemini Lake PCI ID 2017-01-02 10:55:28 +02:00
dwc3-st.c usb: patches for v4.10 merge window 2016-11-18 16:02:15 +01:00
ep0.c usb: dwc3: ep0: Fix the possible missed request for handling delay STATUS phase 2017-01-24 11:04:15 +02:00
gadget.c usb: dwc3: gadget: make to increment req->remaining in all cases 2017-03-08 13:56:37 +02:00
gadget.h usb: dwc3: gadget: make Set Endpoint Configuration macros safe 2017-03-06 10:09:37 +02:00
host.c usb: dwc3: host: pass quirk-broken-port-ped property for known broken revisions 2017-01-26 11:17:37 +02:00
io.h usb: dwc3: trace: add a proper tracepoint for reg accessors 2016-11-03 10:38:30 +02:00
Kconfig usb: dwc3: pci: call _DSM for suspend/resume 2016-11-03 10:38:42 +02:00
Makefile usb: dwc3: trace: purge dwc3_trace() 2016-11-08 12:52:13 +02:00
trace.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
trace.h usb: dwc3: trace: add a tracepoint for ep enable/disable 2016-11-08 12:52:12 +02:00
ulpi.c usb: dwc3: ulpi: make dwc3_ulpi_ops constant 2016-09-06 10:47:26 +03:00