dma: mmp_tdma: disable irq when disabling dma channel
authorQiao Zhou <zhouqiao@marvell.com>
Sat, 15 Jun 2013 04:51:48 +0000 (12:51 +0800)
committerVinod Koul <vinod.koul@intel.com>
Fri, 5 Jul 2013 06:10:48 +0000 (11:40 +0530)
commit8e3c518fba4f2ddd192171cbd7b23ec26900bf6b
treeab00a783582820a11a5b2a7d2d73bb00d158ae4a
parentd7cabeed830b7eb3958cbc084a85649126cd670f
dma: mmp_tdma: disable irq when disabling dma channel

mask dma irq when disabling dma channel, so that interrupt status
will not be set and interrupt won't come again.

Signed-off-by: Qiao Zhou <zhouqiao@marvell.com>
Acked-by: Zhangfei Gao <zhangfei.gao@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mmp_tdma.c