]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93779b8046ffcb4c16acebe31498c2f6d47495e5
treeae92a4c78cd8b428d2d2ee0dc11c7abbf9ce31f6
parent37f1665d9e7ac4b80acd93b22260ef411a7ef813
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