]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: reserve host DMA channel for hostless streams
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Wed, 12 Jun 2019 17:23:37 +0000 (12:23 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jun 2019 12:43:22 +0000 (13:43 +0100)
commit9e4f64fff3ffda25b7d74680c68dc6e80ff64f98
tree773c2d06381effbb14e680fdb94f56774ddef4f3
parent03a0b8e92b4ef0862a44c273d2afec15a79ce3b1
ASoC: SOF: Intel: hda: reserve host DMA channel for hostless streams

Due to the HW programming sequence requirement that the host
and link DMA channels need to be coupled/decoupled during pcm
hw_params, the host DMA channel corresponding to the link
DMA channel in use for hostless streams needs to be reserved.
This is achieved by adding a host_reserved flag in the
sof_intel_hda_stream structure which is checked when assigning
a host DMA channel.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dai.c
sound/soc/sof/intel/hda-stream.c
sound/soc/sof/intel/hda.h