2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-07 05:04:04 +08:00
linux-next/drivers/usb/dwc3
Felipe Balbi 041d81f493 usb: dwc3: gadget: fix 'endpoint always busy' bug
If a USB transfer has already been started, meaning
we have already issued StartTransfer command to that
particular endpoint, DWC3_EP_BUSY flag has also
already been set.

When we try to cancel this transfer which is already
in controller's cache, we will not receive XferComplete
event and we must clear DWC3_EP_BUSY in order to allow
subsequent requests to be properly started.

The best place to clear that flag is right after issuing
DWC3_DEPCMD_ENDTRANSFER.

Cc: stable@vger.kernel.org # v3.4 v3.5 v3.6
Reported-by: Moiz Sonasath <m-sonasath@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2012-10-15 15:03:03 +03:00
..
core.c Merge 3.6-rc6 into usb-next 2012-09-16 20:42:46 -07:00
core.h usb: dwc3: patches for v3.7 merge window 2012-09-11 13:52:48 -07: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-exynos.c usb: dwc3: exynos: add nop transceiver support 2012-09-10 19:29:42 +03:00
dwc3-omap.c usb: dwc3: omap: add nop transceiver support 2012-09-10 19:29:42 +03:00
dwc3-pci.c usb: dwc3: pci: add nop transceiver support 2012-09-10 19:29:41 +03:00
ep0.c Merge 3.6-rc6 into usb-next 2012-09-16 20:42:46 -07:00
gadget.c usb: dwc3: gadget: fix 'endpoint always busy' bug 2012-10-15 15:03:03 +03:00
gadget.h usb: dwc3: correct set_halt implementation for ep0 2012-07-02 10:02:07 +03:00
host.c usb: dwc3: core: split host address space 2012-04-24 15:37:04 +03:00
io.h usb: dwc3: core: split host address space 2012-04-24 15:37:04 +03:00
Kconfig usb: gadget: get rid of USB_GADGET_{DUAL,SUPER}SPEED 2012-08-31 12:49:40 +03:00
Makefile usb: dwc3: Add Exynos Specific Glue layer 2012-03-02 12:11:28 +02:00