]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: Qualcomm: sm8550-hdk: fix codec initialisation
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 18 Oct 2024 06:35:30 +0000 (08:35 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 18 Oct 2024 08:44:46 +0000 (10:44 +0200)
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 Speakers and Headphone stereo mixer
elements are never defined and cannot be used for hardware volume
control.

The default Speaker digital volume is also never set by the BootSequence
as intended.

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

index f694c9e1517829f4682947f67c8bba5398035962..a810ac39d2d79317f0d48218cfa65b03432cea88 100644 (file)
@@ -17,7 +17,7 @@ BootSequence [
 
 Include.card-init.File "/lib/card-init.conf"
 Include.ctl-remap.File "/lib/ctl-remap.conf"
-Include.codec-init.File "/codecs/wsa884x/two-speakers/init.conf"
-Include.codec-init.File "/codecs/wcd938x/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.wsa-init.File "/codecs/wsa884x/two-speakers/init.conf"
+Include.wcd-init.File "/codecs/wcd938x/init.conf"
+Include.wsam-init.File "/codecs/qcom-lpass/wsa-macro/init.conf"
+Include.rxm-init.File "/codecs/qcom-lpass/rx-macro/init.conf"