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)
committerFelipe Balbi <balbi@ti.com>
Wed, 5 Mar 2014 20:40:05 +0000 (14:40 -0600)
commitaecbc31d767cb549e93a44e50218e20d1bc66b59
tree954647ee5fadda82e2d726a243065a3c9db3b050
parent57303488cd37da58263e842de134dc65f7c626d5
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: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_cppi41.c