]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: Intel: avs: Support multi-channel PEAKVOL instantiation
authorCezary Rojewski <cezary.rojewski@intel.com>
Mon, 17 Feb 2025 10:21:15 +0000 (11:21 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 24 Feb 2025 16:01:59 +0000 (16:01 +0000)
commita9409fcb979eaff401837b955b234ca1ee05fdbd
tree934d8da8ded57975487d8f4a661c12632ded1a54
parent76e013152891a69dfe68a28706a51a7df9ed4c42
ASoC: Intel: avs: Support multi-channel PEAKVOL instantiation

The PEAKVOL module initialization procedure allows for specifying
default configuration for all individual channels. To reflect that in
the code, first update avs_get_module_control() to allow for selecting
Volume or Mute control based on needs and then apply the settings with
newly added avs_peakvol_set_volume() and avs_peakvol_set_mute().

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20250217102115.3539427-11-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/path.c