]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c7f3b8d6516238b4c7176244e826d62b189adf0
tree660981220745eff4b4b920480657e4fa05b638c3
parenta9cb207c5fd395e8dd2eb7d83f87ef900e355831
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