linux/drivers/usb/dwc3
Felipe Balbi c4233573f6 usb: dwc3: gadget: prepare TRBs on update transfers too
If we're updating transfers, we can also prepare as
many TRBs as we can fit in the ring. Let's start
doing that.

This patch 'solves' a limitation of how many TRBs we
can prepare when we're getting close the end of the
ring. Instead driver to prepare only up to end of
the ring, we check if we have space to wrap around
the ring properly.

Note that this only happens when our enqueue and
dequeue pointers are equal (which is the case for
bulk endpoints after an XferComplete event).

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2016-06-20 12:30:05 +03:00
..
core.c usb: dwc3: core: get rid of DWC3_PM_OPS macro 2016-06-20 12:30:04 +03:00
core.h usb: dwc3: gadget: fix gadget suspend/resume 2016-06-20 12:30:04 +03:00
debug.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
debug.h usb: dwc3: make dwc3_debugfs_init return value be void 2016-04-19 11:11:53 +03:00
debugfs.c usb: changes for v4.7 merge window 2016-04-28 09:32:39 -07:00
dwc3-exynos.c usb: dwc3: exynos: Fix deferred probing storm. 2016-05-31 11:12:42 +03: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: Remove impossible check for of_clk_get_parent_count() < 0 2016-02-26 16:01:32 -08:00
dwc3-omap.c usb: changes for v4.7 merge window 2016-04-28 09:32:39 -07:00
dwc3-pci.c usb: dwc3: pci: pass the platform device as a parameter to dwc3_pci_quirks() 2016-04-28 09:01:59 +03:00
dwc3-st.c usb: dwc3: st: Fix USB_DR_MODE_PERIPHERAL configuration. 2016-05-31 11:24:31 +03:00
ep0.c usb: dwc3: ep0: sanity check test mode selector 2016-04-28 09:01:34 +03:00
gadget.c usb: dwc3: gadget: prepare TRBs on update transfers too 2016-06-20 12:30:05 +03:00
gadget.h usb: dwc3: better name for our request management lists 2016-04-14 09:24:38 +03:00
host.c usb: dwc3: make LPM configurable in DT 2015-03-10 15:33:33 -05:00
io.h usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
Kconfig usb: dwc3: remove dwc3-qcom in favor of dwc3-of-simple 2015-12-15 09:12:41 -06:00
Makefile usb: dwc3: remove dwc3-qcom in favor of dwc3-of-simple 2015-12-15 09:12:41 -06:00
platform_data.h usb: dwc3: add disable receiver detection in P3 quirk 2016-04-18 15:23:44 +03:00
trace.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
trace.h usb: dwc3: trace: show request flags 2015-12-15 09:12:41 -06:00
ulpi.c usb: dwc3: add ULPI interface support 2015-05-13 12:06:52 -05:00