linux/drivers/usb/dwc3
Thinh Nguyen 91cfedb762 usb: dwc3: gadget: Delay starting transfer
commit da10bcdd6f upstream.

If the END_TRANSFER command hasn't completed yet, then don't send the
START_TRANSFER command. The controller may not be able to start if
that's the case. Some controller revisions depend on this. See
commit 76a638f8ac ("usb: dwc3: gadget: wait for End Transfer to
complete"). Let's only send START_TRANSFER command after the
END_TRANSFER command had completed.

Fixes: 3aec99154d ("usb: dwc3: gadget: remove DWC3_EP_END_TRANSFER_PENDING")
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-11 04:35:09 -08:00
..
Kconfig usb: dwc3: select CONFIG_REGMAP_MMIO 2019-10-27 08:58:44 +02:00
Makefile usb: dwc3: Add Amlogic G12A DWC3 glue 2019-05-03 09:13:47 +03:00
core.c usb: dwc3: turn off VBUS when leaving host mode 2020-02-01 09:34:32 +00:00
core.h usb: dwc3: gadget: Delay starting transfer 2020-02-11 04:35:09 -08:00
debug.h usb: common: Separated decoding functions from dwc3 driver. 2019-08-29 10:52:27 +03:00
debugfs.c
drd.c usb: dwc3: Remove dev_err() on platform_get_irq() failure 2019-10-07 12:52:44 +02:00
dwc3-exynos.c
dwc3-haps.c
dwc3-keystone.c USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
dwc3-meson-g12a.c usb: dwc3: meson-g12a: fix suspend resume regulator unbalanced disables 2019-08-28 13:04:59 +03:00
dwc3-of-simple.c drm pull request for 5.2 2019-05-08 21:35:19 -07:00
dwc3-omap.c USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
dwc3-pci.c usb: dwc3: pci: add ID for the Intel Comet Lake -V variant 2020-02-01 09:34:31 +00:00
dwc3-qcom.c usb: dwc3: qcom: Use of_clk_get_parent_count() 2019-06-18 11:58:29 +03:00
dwc3-st.c usb: dwc3: st: Add of_dev_put() in probe function 2019-08-28 13:04:58 +03:00
ep0.c usb: dwc3: gadget: Check END_TRANSFER completion 2020-02-11 04:35:09 -08:00
gadget.c usb: dwc3: gadget: Delay starting transfer 2020-02-11 04:35:09 -08:00
gadget.h usb: dwc3: gadget: Add support for disabling U1 and U2 entries 2019-06-18 11:58:30 +03:00
host.c usb: dwc3: Remove dev_err() on platform_get_irq() failure 2019-10-07 12:52:44 +02:00
io.h
trace.c
trace.h usb: common: Separated decoding functions from dwc3 driver. 2019-08-29 10:52:27 +03:00
ulpi.c