ASoC: Intel: avs: Add control volume operations
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Wed, 14 Dec 2022 18:54:58 +0000 (19:54 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 25 Dec 2022 23:32:59 +0000 (23:32 +0000)
commit585b9427edd65ad124e23affb80fca3d15a6375d
tree1e0a1903917a48753b226c3ec694233758070bc3
parent905ea24f0f17d826e6b90ece706bfefde3d7b2e5
ASoC: Intel: avs: Add control volume operations

To make introduced peakvol module useful from userspace perspective,
expose ALSA controls allowing DSP volume modification. These provide
even more granular control over volume but are also the only way to
modify volume for devices devoid of codec kcontrols e.g.: DMIC.

Co-authored-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20221214185500.3896902-3-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/Makefile
sound/soc/intel/avs/control.c [new file with mode: 0644]
sound/soc/intel/avs/control.h [new file with mode: 0644]