alistair23-linux/drivers/usb/dwc2
Minas Harutyunyan 5acb4b9701 dwc2: gadget: Fix completed transfer size calculation in DDMA
Fix calculation of transfer size on completion in function
dwc2_gadget_get_xfersize_ddma().

Added increment of descriptor pointer to move to next descriptor in
the loop.

Fixes: aa3e8bc813 ("usb: dwc2: gadget: DDMA transfer start and complete")

Signed-off-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2019-05-03 09:13:49 +03:00
..
core.c usb: dwc2: gadget: Move gadget phy init into core phy init 2019-05-03 09:13:48 +03:00
core.h usb: dwc2: Delayed status support 2019-05-03 09:13:48 +03:00
core_intr.c usb: dwc2: optionally assert phy reset when waking up 2019-05-03 09:13:47 +03:00
debug.h
debugfs.c
gadget.c dwc2: gadget: Fix completed transfer size calculation in DDMA 2019-05-03 09:13:49 +03:00
hcd.c usb: dwc2: Fix channel disable flow 2019-05-03 09:13:48 +03:00
hcd.h usb: dwc2: host: use hrtimer for NAK retries 2018-12-05 11:13:14 +02:00
hcd_ddma.c
hcd_intr.c
hcd_queue.c usb: dwc2: host: use hrtimer for NAK retries 2018-12-05 11:13:14 +02:00
hw.h usb: dwc2: Move UTMI_PHY_DATA defines closer 2019-05-03 09:13:48 +03:00
Kconfig USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
Makefile
params.c usb: dwc2: Set lpm mode parameters depend on HW configuration 2019-05-03 09:13:49 +03:00
pci.c
platform.c usb: dwc2: gadget: Replace phyif with phy_utmi_width 2019-05-03 09:13:48 +03:00