ARM: mxs-dma: reset after disable channel
authorDong Aisheng <b29396@freescale.com>
Tue, 19 Jul 2011 04:09:56 +0000 (12:09 +0800)
committerVinod Koul <vinod.koul@intel.com>
Tue, 26 Jul 2011 10:03:28 +0000 (15:33 +0530)
commita62bae98a93e6c4d53b1e6c20715e94b4a5aca3c
treedae354d3b563ae4c6a601c2736b1b1db79aa9fc2
parentadd56ba711627c223e9e356d9398642abf7fa32d
ARM: mxs-dma: reset after disable channel

We met some channels in abnormal state after disable.
Reset it to get a clean state.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mxs-dma.c