OSDN Git Service

ASoC: SOF: topology: Modify the get_token op for string tokens
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 7 Mar 2022 18:11:01 +0000 (10:11 -0800)
committerMark Brown <broonie@kernel.org>
Tue, 8 Mar 2022 12:27:46 +0000 (12:27 +0000)
commit5ef969e2f8e199d8881ea4cd78cb86df1c67d92b
tree660981220745eff4b4b920480657e4fa05b638c3
parent6a6b5727f8eedff8932db6056c07a81eeeca9250
ASoC: SOF: topology: Modify the get_token op for string tokens

Modify the get_token op for string type tokens to pass the string as the
argument instead of a pointer to struct snd_soc_tplg_vendor_string_elem.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@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: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220307181111.49392-9-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/topology.c