linux-imx/drivers/usb/musb
Peter Ujfalusi 94d4358abb usb: musb: tusb6010_omap: Do not reset the other direction's packet size
commit 6df2b42f7c upstream.

We have one register for each EP to set the maximum packet size for both
TX and RX.
If for example an RX programming would happen before the previous TX
transfer finishes we would reset the TX packet side.

To fix this issue, only modify the TX or RX part of the register.

Fixes: 550a7375fe ("USB: Add MUSB and TUSB support")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2017-09-15 18:30:45 +01:00
..
am35x.c usb: musb: fix compilation breakage introduced by de47725 2011-11-14 11:51:32 -08:00
blackfin.c usb: musb: blackfin: include prefetch head file 2011-08-12 11:52:51 +03:00
blackfin.h usb: musb: drop a gigantic amount of ifdeferry 2011-07-01 14:31:10 -07:00
cppi_dma.c usb: musb: cppi_dma: export cppi_interrupt() 2013-01-03 03:33:02 +00:00
cppi_dma.h
da8xx.c usb: musb: fix compilation breakage introduced by de47725 2011-11-14 11:51:32 -08:00
davinci.c usb: musb: davinci: fix build breakage 2012-02-03 09:22:14 -08:00
davinci.h
Kconfig usb: musb: hdrc: fix dependency on USB_GADGET_DUALSPEED in Kconfig 2011-11-14 11:51:18 -08:00
Makefile usb: musb: drop a gigantic amount of ifdeferry 2011-07-01 14:31:10 -07:00
musb_core.c usb: musb: core: fix order of arguments to ulpi write callback 2015-12-30 02:25:55 +00:00
musb_core.h usb: musb: tusb6010: fix compilation 2011-08-12 11:52:50 +03:00
musb_debug.h usb: musb: drop unneeded musb_debug trickery 2011-05-13 14:34:04 +03:00
musb_debugfs.c musb_debugfs.c: remove unneeded includes on ARM 2011-09-26 10:08:31 -04:00
musb_dma.h usb: musb: introduce api for dma code to check compatibility with usb request 2011-02-01 10:41:30 +02:00
musb_gadget_ep0.c musb_gadget: Fix for spurious interrupts on endpoint zero. 2011-09-09 15:58:02 -07:00
musb_gadget.c usb: musb_gadget: fix crash caused by dangling pointer 2012-06-19 23:18:11 +01:00
musb_gadget.h usb: musb: gadget: do not poke with gadget's list_head 2011-02-17 21:11:46 +02:00
musb_host.c usb: musb: Stop bulk endpoint while queue is rotated 2016-08-22 22:37:13 +01:00
musb_host.h usb: musb: drop a gigantic amount of ifdeferry 2011-07-01 14:31:10 -07:00
musb_io.h usb: musb: add Kconfig options for each glue layer 2010-12-10 10:21:09 +02:00
musb_regs.h usb: musb: tusb6010: fix compilation 2011-08-12 11:52:50 +03:00
musb_virthub.c usb: musb: drop a gigantic amount of ifdeferry 2011-07-01 14:31:10 -07:00
musbhsdma.c USB: irq: Remove IRQF_DISABLED 2011-09-18 01:39:36 -07:00
musbhsdma.h usb: musb: Fix trying to free already-free IRQ 4 2017-03-16 02:18:39 +00:00
omap2430.c usb: musb: omap: fix the error check for pm_runtime_get_sync 2012-05-11 13:14:06 +01:00
omap2430.h
tusb6010_omap.c usb: musb: tusb6010_omap: Do not reset the other direction's packet size 2017-09-15 18:30:45 +01:00
tusb6010.c usb: musb: tusb6010: fix compilation 2011-08-12 11:52:50 +03:00
tusb6010.h
ux500_dma.c usb: musb: ux500: replace missing DBG with dev_dbg 2011-08-12 11:52:46 +03:00
ux500.c usb: musb: ux500: copy dma mask from platform device to musb device 2011-04-13 11:50:57 +03:00