]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: SOF: ipc4-control: set_volume_data only applies to VOLSW family
authorLibin Yang <libin.yang@intel.com>
Mon, 13 Mar 2023 11:03:42 +0000 (13:03 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 13 Mar 2023 14:06:52 +0000 (14:06 +0000)
commitdc47ef4f8f6426cd625eb4057e174541e7c23ccd
tree3fbdb566cb9d426f292e42563162e868be21fd02
parentea4a4e82f625ae451175a2a74779776b006d25a1
ASoC: SOF: ipc4-control: set_volume_data only applies to VOLSW family

Make sure sof_ipc4_set_volume_data() is only called for the
SND_SOC_TPLG_CTL_VOLSW, SND_SOC_TPLG_CTL_VOLSW_SX and
SND_SOC_TPLG_CTL_VOLSW_XR_SX info_type.

Signed-off-by: Libin Yang <libin.yang@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230313110344.16644-6-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4-control.c