]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: avs: non-HDA PCM BE operations
authorCezary Rojewski <cezary.rojewski@intel.com>
Mon, 16 May 2022 10:11:05 +0000 (12:11 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 17 May 2022 10:57:56 +0000 (11:57 +0100)
commit8d5f10afebd54f64505db52adf646c7a833d52e3
tree44d5fb5a6b2b169b02668e68ecf551d94f215d40
parent19059de9c98c7e99454388cba201bbeb9be13d73
ASoC: Intel: avs: non-HDA PCM BE operations

DMIC and I2S interfaces differ in DMA operations from the HDAudio
interface. With that in mind, implement all DAI operations to handle
non-HDA BE interfaces.

To prevent code duplication in newly added code, I2S platform
registering is dynamic - makes use of specified port_mask and TDMs
array to populate as many DAIs as required.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220516101116.190192-5-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/avs.h
sound/soc/intel/avs/pcm.c