From 8b17033636faf8b1cc60590a3ef83011901817d9 Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Tue, 9 Jan 2024 17:51:52 +0100 Subject: [PATCH] ucm2: Qualcomm: sc8280xp: fix hardware volume control 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 Signed-off-by: Jaroslav Kysela --- ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf b/ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf index aea66d8..10e914b 100644 --- a/ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf +++ b/ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf @@ -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" -- 2.47.1