summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorBin Liu <b-liu@ti.com>2015-01-26 16:22:07 -0600
committerFelipe Balbi <balbi@ti.com>2015-01-27 09:34:58 -0600
commitcb83df77f3ec151d68a1b6be957207e6fc7b7f50 (patch)
treed764ade173dcac614583c1ad6742b1a208601117 /drivers/usb/gadget
parent0149b07a9e28b0d8bd2fc1c238ffe7d530c2673f (diff)
usb: musb: cppi41: improve rx channel abort routine
1. set AUTOREQ to NONE at the beginning of teardown; 2. add delay for dma pipeline to drain; 3. Do not set USB_TDOWN bit for RX teardown. The CPPI hw has an issue that when tearing down a RX channel, if another RX channel is receiving data, the CPPI will lockup. To workaround the issue, do not set the CPPI TD bit. The steps before this point ensures the CPPI channel will be torn down properly. Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions