ASoC: SOF: Add support for parsing the number of sink/source pins
authorChao Song <chao.song@linux.intel.com>
Mon, 7 Nov 2022 08:57:04 +0000 (10:57 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 7 Nov 2022 13:58:09 +0000 (13:58 +0000)
commit6327c7297fc86d2203ab31882152a9d0b049f7b2
treec41f7f857327acccb179706ea42286963c16d496
parent4b19211435950a78af032c26ad64a5268e6012be
ASoC: SOF: Add support for parsing the number of sink/source pins

Add support for parsing the number of sink/source pins
per widget from topology. They will be used to determine
the sink/source queue IDs during widget binding.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Chao Song <chao.song@linux.intel.com>
Suggested-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>
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/20221107085706.2550-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/uapi/sound/sof/tokens.h
sound/soc/sof/sof-audio.h
sound/soc/sof/topology.c