original_kernel/drivers/usb/musb
Bin Liu 45d7386053 usb: musb: fix tx fifo flush handling again
commit 68fe05e2a4 ("usb: musb: fix tx fifo flush handling") drops the
1ms delay trying to solve the long disconnect time issue when
application queued many tx urbs. However, the 1ms delay is needed for
some use cases, for example, without the delay, reconnecting AR9271 WIFI
dongle no longer works if the connection is dropped from the AP.

So let's add back the 1ms delay in musb_h_tx_flush_fifo(), and solve the
long disconnect time problem with a separate patch for
usb_hcd_flush_endpoint().

Cc: stable@vger.kernel.org # v4.4+
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-30 07:18:27 -07:00
..
Kconfig usb: musb: Add support of CPPI 4.1 DMA controller to DA8xx 2017-04-18 16:48:26 +02:00
Makefile
am35x.c
blackfin.c
blackfin.h
cppi_dma.c
cppi_dma.h
da8xx.c usb: musb: don't mark of_dev_auxdata as initdata 2017-04-26 11:30:02 +02:00
davinci.c
davinci.h
jz4740.c
musb_am335x.c
musb_core.c usb: musb: Add quirk to avoid skb reserve in gadget mode 2017-06-20 11:45:01 +08:00
musb_core.h usb: musb: Add quirk to avoid skb reserve in gadget mode 2017-06-20 11:45:01 +08:00
musb_cppi41.c usb: musb: musb_cppi41: Defer probe only if DMA is not ready 2017-06-20 11:45:01 +08:00
musb_debug.h
musb_debugfs.c
musb_dma.h
musb_dsps.c usb: musb: dsps: keep VBUS on for host-only mode 2017-05-27 11:54:46 +02:00
musb_gadget.c
musb_gadget.h
musb_gadget_ep0.c
musb_host.c usb: musb: fix tx fifo flush handling again 2017-07-30 07:18:27 -07:00
musb_host.h
musb_io.h
musb_regs.h
musb_trace.c
musb_trace.h
musb_virthub.c
musbhsdma.c
musbhsdma.h
omap2430.c
omap2430.h
sunxi.c
tusb6010.c usb: musb: tusb6010: Handle DMA TX completion in DMA callback as well 2017-06-20 11:45:01 +08:00
tusb6010.h
tusb6010_omap.c usb: musb: tusb6010_omap: Convert to DMAengine API 2017-06-20 11:45:01 +08:00
ux500.c
ux500_dma.c