summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/ep0.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2017-05-17 11:23:11 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-18 15:21:17 +0200
commit6df2b42f7c040d57d9ecb67244e04e905ab87ac6 (patch)
treebea40a7d415c2b01b89a0ede3d9e99defd91a0b8 /drivers/usb/dwc3/ep0.c
parent3c50ffef25855a9d9e4b07b02d756a8cdd653069 (diff)
downloadlinux-stable-6df2b42f7c040d57d9ecb67244e04e905ab87ac6.tar.gz
linux-stable-6df2b42f7c040d57d9ecb67244e04e905ab87ac6.tar.bz2
linux-stable-6df2b42f7c040d57d9ecb67244e04e905ab87ac6.zip
usb: musb: tusb6010_omap: Do not reset the other direction's packet size
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: 550a7375fe72 ("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> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc3/ep0.c')
0 files changed, 0 insertions, 0 deletions