ASoC: Intel: Skylake: Suspend PCMs when marked as active suspend
authorJeeja KP <jeeja.kp@intel.com>
Thu, 28 Apr 2016 13:15:28 +0000 (18:45 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 2 May 2016 11:02:17 +0000 (12:02 +0100)
commit9a655db0201ef523683d700cb3f4508c08bc9d8c
tree7731f2e6880a47d64860eae10ec68c6fef4ee643
parent1a13b1fafffd41c12a7068c4aa74f5a1d2210a07
ASoC: Intel: Skylake: Suspend PCMs when marked as active suspend

For 'ignore_suspend' cases we need to keep DSP and pipes On, but
can suspend the stream and pause the DMA as we are not rendering
data during the suspended time.

For this we can check the dai widget ignore_suspend flag in
trigger suspend/resume, and start and stop the host DMA and host
copier pipelines.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-pcm.c