ASoC: Intel: Skylake: Use set_tdm_slot to set the dma channel
authorJeeja KP <jeeja.kp@intel.com>
Tue, 24 Jan 2017 16:19:04 +0000 (21:49 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 24 Jan 2017 17:55:16 +0000 (17:55 +0000)
commit1011509dfd25f90db333f82fa85c39b0861d2b09
treeb61b4986d4ee78719865e7901facc55f6dbb2036
parentc9bfb5d74dd2a704bf3c622c6b268f6dc6f37ca6
ASoC: Intel: Skylake: Use set_tdm_slot to set the dma channel

DMA channel(stream tag) used by the HDA link need to programmed in
codec so that codec receives packet from the link associated with the
same channel.

DMA channel is allocated in link BE dai hw_params, the same needs to be
set for the BE codec dai. Instead of using get/set dma_data(), use
dai_ops snd_soc_dai_set_tdm_slot() to set the stream tag.

Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-pcm.c