linux_old1/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
..
Kconfig USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01: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 usb: dwc2: Fix kernel doc's warnings. 2018-05-21 10:02:13 +03:00
debugfs.c usb: dwc2: Add core parameter for service interval support 2018-10-02 10:49:26 +03:00
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 usb: dwc2: Modify dwc2_readl/writel functions prototype 2018-07-30 10:39:16 +03:00
hcd_intr.c usb: changes for v4.19 2018-07-30 10:21:14 +02:00
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
params.c usb: dwc2: Set lpm mode parameters depend on HW configuration 2019-05-03 09:13:49 +03:00
pci.c usb: dwc2: pci: Fix an error code in probe 2018-11-14 11:07:12 +02:00
platform.c usb: dwc2: gadget: Replace phyif with phy_utmi_width 2019-05-03 09:13:48 +03:00