]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: Qualcomm: sc8280xp: fix hardware volume control
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 9 Jan 2024 16:51:52 +0000 (17:51 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 17 Jan 2024 09:15:40 +0000 (10:15 +0100)
The lazy include of the four codec initialisation files are incorrectly
specified using the same identifier which means that only the last one
is actually included.

This specifically means that the sound server falls back to software
mixing as the Speaker and Headphones mixer elements are not defined.

The default Mic volume and Speaker digital volume are also never set by
the BootSequence as intended (even if the Mic volume is currently
overridden in the enable sequence).

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/382
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf

index aea66d86f3be9d3f4515dfb87f89b56d6efcff85..10e914b586019e27bdecd0797f3ca9cefc1f16bc 100644 (file)
@@ -7,7 +7,7 @@ SectionUseCase."HiFi" {
 
 Include.card-init.File "/lib/card-init.conf"
 Include.ctl-remap.File "/lib/ctl-remap.conf"
-Include.codec-init.File "/codecs/wcd938x/init.conf"
-Include.codec-init.File "/codecs/wsa883x/init.conf"
-Include.codec-init.File "/codecs/qcom-lpass/wsa-macro/init.conf"
-Include.codec-init.File "/codecs/qcom-lpass/rx-macro/init.conf"
+Include.wcd-init.File "/codecs/wcd938x/init.conf"
+Include.wsa-init.File "/codecs/wsa883x/init.conf"
+Include.wsam-init.File "/codecs/qcom-lpass/wsa-macro/init.conf"
+Include.rxm-init.File "/codecs/qcom-lpass/rx-macro/init.conf"