usb: musb: host: Disable MUSB DMA mode incase of DMA channel request failure
authorMantesh Sarasetti <mantesh@ti.com>
Fri, 1 Jun 2012 11:54:30 +0000 (14:54 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 4 Jun 2012 15:37:18 +0000 (18:37 +0300)
commit2ed9127cff9a255b7671b8d3d938109f68a87961
tree377844becca90f7f35daad98799a8ee8ceb31f12
parentabf710e655fe843afe0ab6a56e344567d933b018
usb: musb: host: Disable MUSB DMA mode incase of DMA channel request failure

Currently in case of MUSB DMA channel request failure we are not
clearing MUSB_RXCSR_DMAENAB, MUSB_RXCSR_H_AUTOREQ and
MUSB_RXCSR_AUTOCLEAR bits of MUSB RXCSR of MUSB DMA. Which is
causing failure in receipt of data packets in next transfer.

Fix is to disable the MUSB DMA mode and related bits incase of
DMA channel request fails

Signed-off-by: Mantesh Sarashetti <mantesh@ti.com>
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_host.c
This page took 0.024755 seconds and 5 git commands to generate.