linux/drivers/usb/dwc3
Gerard Cauvy 3b637367ae usb: dwc3: ep0: fix SetFeature(TEST)
When host requests us to enter a test mode,
we cannot directly enter the test mode before
Status Phase is completed, otherwise the core
will never be able to deliver the Status ZLP
to host, because it has already entered the
requested Test Mode.

In order to fix the error, we move the actual
start of Test Mode right after we receive
Transfer Complete event of the status phase.

Signed-off-by: Gerard Cauvy <g-cauvy1@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2012-02-10 13:11:46 +02:00
..
Kconfig usb: dwc3: depend on both Host and Gadget stacks 2011-12-12 11:48:14 +02:00
Makefile usb: dwc3: always compile gadget side too 2011-12-12 11:48:13 +02:00
core.c usb: dwc3: gadget: dynamically re-size TxFifos 2012-02-06 11:48:34 +02:00
core.h usb: dwc3: ep0: fix SetFeature(TEST) 2012-02-10 13:11:46 +02:00
debug.h usb: dwc: remove "All rights reserved" statement. 2011-10-04 10:25:52 -07:00
debugfs.c usb: dwc3: debugfs: fix off by one when entering testmode 2012-02-10 12:14:53 +02:00
dwc3-omap.c usb: dwc3: omap: convert pdata to of property 2012-02-06 11:48:39 +02:00
dwc3-pci.c drivers/usb/dwc3/dwc3-pci.c: introduce missing kfree 2012-01-04 15:52:42 -08:00
ep0.c usb: dwc3: ep0: fix SetFeature(TEST) 2012-02-10 13:11:46 +02:00
gadget.c usb: dwc3: ep0: fix SetFeature(TEST) 2012-02-10 13:11:46 +02:00
gadget.h usb: dwc3: gadget: re-factor Link state change to a function 2012-02-06 11:48:24 +02:00
host.c usb: dwc3: host: align on host device name 2012-02-06 11:48:42 +02:00
io.h usb: dwc3: fix few coding style problems 2011-12-12 11:48:29 +02:00