dmaengine: mid_dma: mask_peripheral_interrupt only when dmac is idle
authorVinod Koul <vinod.koul@intel.com>
Mon, 10 Oct 2011 07:03:59 +0000 (12:33 +0530)
committerVinod Koul <vinod.koul@linux.intel.com>
Sun, 16 Oct 2011 11:46:45 +0000 (17:16 +0530)
The mask_peripheral_interrupt is called when channel wants to mask the
interrupt. Move this to suspend as this masking affects other channels
as well. Not touching unmask here and unmask would still be done of
first channel use

Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>

No differences found