ASoC: SOF: Implement snd_sof_bytes_ext_volatile_get kcontrol IO
authorDharageswari R <dharageswari.r@intel.com>
Tue, 8 Sep 2020 09:28:25 +0000 (12:28 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 8 Sep 2020 12:55:00 +0000 (13:55 +0100)
commit783560d02dd61aee20d1d00c1c061bcafea30264
treeae92a4c78cd8b428d2d2ee0dc11c7abbf9ce31f6
parent819b9f6002391925b53817ed96638bd40bd1d34f
ASoC: SOF: Implement snd_sof_bytes_ext_volatile_get kcontrol IO

This patch implements the snd_sof_bytes_ext_volatile_get() to read the
actual parameters from DSP by sending the SOF_IPC_COMP_GET_DATA IPC
for the kcontrol of type SOF_TPLG_KCTL_BYTES_VOLATILE_RO.

Signed-off-by: Dharageswari R <dharageswari.r@intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200908092825.1813847-2-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/uapi/sound/sof/tokens.h
sound/soc/sof/control.c
sound/soc/sof/sof-audio.h
sound/soc/sof/topology.c