]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6e368ec04efaf821dff009d850f4a33b42e5ef6
treeb61b4986d4ee78719865e7901facc55f6dbb2036
parent60fca30c1d7968bd405e76ca381542f8c2060a15
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