]> git.baikalelectronics.ru Git - kernel.git/commit
dma: cppi41: start tear down only if channel is busy
authorGeorge Cherian <george.cherian@ti.com>
Thu, 27 Feb 2014 05:14:40 +0000 (10:44 +0530)
committerVinod Koul <vinod.koul@intel.com>
Tue, 11 Mar 2014 10:52:43 +0000 (16:22 +0530)
commit9734b1d0b3c3210c305270992ecb37ac19bb2b49
treeb9cdf451b48f25ad3752820463d0dc29f862b625
parent0b936aa90fbafd5b82b981214e45bc5ee50c840b
dma: cppi41: start tear down only if channel is busy

Start the channel tear down only if the channel is busy, else just
bail out. In some cases its seen that by the time the tear down is
initiated the cppi completes the DMA, especially in ISOCH transfers.

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