]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc1c2340a128d95fb13e63d2a2d220b9c545ea60d
treec70d3208052b636ab299f2f0b18af3d52bffda9f
parent1840ae1ed2b9ad65e961aafdd7f2e6045ad5552c
dmaengine: mid_dma: mask_peripheral_interrupt only when dmac is idle

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>
drivers/dma/intel_mid_dma.c