ASoC: SOF: topology: read back control data from DSP
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Wed, 15 Dec 2021 18:04:04 +0000 (10:04 -0800)
committerMark Brown <broonie@kernel.org>
Wed, 15 Dec 2021 22:16:48 +0000 (22:16 +0000)
commitfc5adc2bb13a6988df7ce377320f381add236002
tree27129ef5933ba58b5e9042c940fbd3a9bba1b4ea
parent47d7328f8cda15e60422c8ca36d067c4deb19b7e
ASoC: SOF: topology: read back control data from DSP

Read back the control data from the DSP to initialize the control data
size to match that of the data in the DSP. This is particularly useful
for volatile read-only kcontrols in static pipelines.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20211215180404.53254-9-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-audio.c