diff options
author | Bin Liu <b-liu@ti.com> | 2015-01-26 16:22:07 -0600 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-27 09:34:58 -0600 |
commit | cb83df77f3ec151d68a1b6be957207e6fc7b7f50 (patch) | |
tree | d764ade173dcac614583c1ad6742b1a208601117 /drivers/usb/gadget/composite.c | |
parent | 0149b07a9e28b0d8bd2fc1c238ffe7d530c2673f (diff) | |
download | op-kernel-dev-cb83df77f3ec151d68a1b6be957207e6fc7b7f50.zip op-kernel-dev-cb83df77f3ec151d68a1b6be957207e6fc7b7f50.tar.gz |
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/composite.c')
0 files changed, 0 insertions, 0 deletions