ASoC: SOF: ipc4-topology: Modify the reference output valid_bits for copier
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 21 Aug 2023 11:36:29 +0000 (14:36 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 21 Aug 2023 12:10:08 +0000 (13:10 +0100)
commit70b0924b22efe2135222a2c7141a83dfe0c78779
tree21fe9f4ff6b2e881c45aaa9db636209dcdcddafc
parent769e8f6cd7182c95d4bd37491e13300ff067c7a7
ASoC: SOF: ipc4-topology: Modify the reference output valid_bits for copier

If the copier has only output valid_bits across all its output
formats, the reference for selecting the output format must be set that
instead of the valid_bits from the selected input format.

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