]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Configure DMA in PRE_PMD handler of Mixer
authorJeeja KP <jeeja.kp@intel.com>
Thu, 8 Dec 2016 08:11:14 +0000 (13:41 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 15 Dec 2016 12:15:59 +0000 (12:15 +0000)
commit9659136ed4fd30afa9439856ac5c55835ed839c9
tree6647e33f49e1c4bf51f64f28a3f21ccde9f02d64
parent50164bb9bddf8d6b79def201aaf278788adc61f9
ASoC: Intel: Skylake: Configure DMA in PRE_PMD handler of Mixer

If system is suspended when PCM was paused/stopped, restart doesn't
configure DMA as it is we are in Pause state and results in IO error
eventually.

Configure host/link DMA before initializing DSP Gateway copier module
instead of DAI prepare(). So moved DMA configuration to mixer PRE_PMD
widget handler instead of DAI prepare.

This uses previously added new API to do the configuration and removes
old DAI prepare code.

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