ASoC: SOF: ipc4-topology: use different channel mask for each sdw amp feedback
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 25 Jan 2023 14:13:17 +0000 (16:13 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 26 Jan 2023 13:32:46 +0000 (13:32 +0000)
commit0390a102cc18cb7456d6c1f15ac51f1af90fcf9c
treee440a523663907274dea714a93fd66730c6fc702
parent167b3a2b23c86ce44518afde93c82b65295ea60a
ASoC: SOF: ipc4-topology: use different channel mask for each sdw amp feedback

Currently, we use the same channel mask for aggregated speakers.
It works fine for playback because we duplicate the audio data for all
aggregated speakers. But we need to get audio data from each aggregated
speaker and combine them to the captured audio. So we need to set
non-overlapping channel mask for aggregated ALH DAIs.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230125141317.30302-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4-topology.c