ASoC: SOF: ipc4-topology: set copier sink format
authorBard Liao <yung-chuan.liao@linux.intel.com>
Thu, 9 Feb 2023 14:21:23 +0000 (16:21 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 9 Feb 2023 14:31:17 +0000 (14:31 +0000)
commit11f605633b33cdffd4ffe3b8e1e89590e8f521e7
tree2fba01a456af99bc6be601da2e626b084aed6fb1
parentb796ff3bf03fd8c838ddd2709ded15865e4af4a4
ASoC: SOF: ipc4-topology: set copier sink format

MOD_INIT_INSTANCE IPC for a copier only contains the sink format for
output pin 0. Any additional output pins that are used need to have their
sink format set using the LARGE_CONFIG_SET IPC message.
Otherwise, firmware will report error or crash due to NULL format is used.

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: Rander Wang <rander.wang@intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230209142123.17193-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4-topology.c
sound/soc/sof/ipc4-topology.h
sound/soc/sof/sof-audio.h