ASoC: SOF: Separate the tokens for input and output pin index
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 15 May 2023 10:44:03 +0000 (13:44 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 15 May 2023 11:10:17 +0000 (20:10 +0900)
commitbe3c215342956313845308e0e631341e62370a2b
treebac064b7f19b44bc80e8c7a8062dc8ad9d005344
parentaa70f36fe6c345cc8679e034b0dd4213f1f9c7d9
ASoC: SOF: Separate the tokens for input and output pin index

Using the same token ID for both input and output format pin index
results in collisions and incorrect pin index getting parsed from
topology.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com
Reviewed-by: Paul Olaru <paul.olaru@oss.nxp.com
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com
Link: https://lore.kernel.org/r/20230515104403.32207-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org
include/uapi/sound/sof/tokens.h
sound/soc/sof/ipc4-topology.c