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)
commitb9062f9867f0e601c64e973e2eecda37ccac2ee8
tree44d5fb5a6b2b169b02668e68ecf551d94f215d40
parent9114700b496c6ce16ad6fc0073f0502cd0f46991
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