usb: musb: fix cppi channel teardown for isoch transfer
authorBin Liu <b-liu@ti.com>
Mon, 24 Aug 2015 20:28:37 +0000 (15:28 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 21 Sep 2015 19:42:36 +0000 (14:42 -0500)
commitb431ba8803666e56c1d178a421b3cbc36e8d3d33
tree6a1efd432f7b976bd80cd89fb8bfb4c7df5459ac
parent8fb7ab504381b8ce4f443129e102a713bd76dfe2
usb: musb: fix cppi channel teardown for isoch transfer

After a few iterations of start/stop UVC camera streaming, the streaming
stops.

This patch adds 250us delay in the cppi channel abort path to let cppi
drain properly.

Using 50us delay seems to be too aggressive, some webcams are still
broken. 250us is the original value used in TI 3.2 kernel.

Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_cppi41.c