usb: musb: musb_cppi41: Dont reprogram DMA if tear down is initiated
authorGeorge Cherian <george.cherian@ti.com>
Thu, 27 Feb 2014 05:14:41 +0000 (10:44 +0530)
committerVinod Koul <vinod.koul@intel.com>
Tue, 11 Mar 2014 10:52:43 +0000 (16:22 +0530)
commitf967d104b661c25a9a396e42a1f8ebe3431adc23
treefea61f8fa284f0fd5a3fcb742579540329561b5b
parent8f83f502290e75b927de65b2e26f56c2d4736fac
usb: musb: musb_cppi41: Dont reprogram DMA if tear down is initiated

Reprogramming the DMA after tear down is initiated leads to warning.
This is mainly seen with ISOCH since we do a delayed completion for
ISOCH transfers. In ISOCH transfers dma_completion should not reprogram
if the channel tear down is initiated.

Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/usb/musb/musb_cppi41.c