]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: codecs: lpass-wsa: use set Digital gain at 0dB
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 18 Jul 2023 11:54:12 +0000 (12:54 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 30 Oct 2023 10:00:56 +0000 (11:00 +0100)
For some reason we ended up with a Digital gain below 0dB, resulting in
a very low speaker volume.
Fix this to 0dB and let Analog gain control speakers volume.

CloseS: https://github.com/alsa-project/alsa-ucm-conf/pull/335
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Tested-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf
ucm2/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf
ucm2/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf
ucm2/codecs/qcom-lpass/wsa-macro/init.conf [new file with mode: 0644]
ucm2/codecs/wsa883x/init.conf

index fd527294edfc21775acf87578ac0f388acd1001c..dd8f584bd677337ce50c28838ec18367dc9ce969 100644 (file)
@@ -9,3 +9,4 @@ 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"
index 1f27d4cebbc43ecb8a091d1e8c68fa3a46ed4769..98cf061ee8e206da26950d3b43ccb3a2fe84545d 100644 (file)
@@ -1,6 +1,4 @@
 DisableSequence [
-       cset "name='WSA_RX0 Digital Volume' 0"
-       cset "name='WSA_RX1 Digital Volume' 0"
        cset "name='WSA_COMP1 Switch' 0"
        cset "name='WSA_COMP2 Switch' 0"
        cset "name='WSA_RX0 INP0' ZERO"
index 618bab45ba3aeeb6d400a2c34dbaa0e92d2dab8a..488826b8b81b9dcc71f32943eaa1a05956717e06 100644 (file)
@@ -5,6 +5,4 @@ EnableSequence [
        cset "name='WSA_RX1 INP0' RX1"
        cset "name='WSA_COMP1 Switch' 1"
        cset "name='WSA_COMP2 Switch' 1"
-       cset "name='WSA_RX0 Digital Volume' 68"
-       cset "name='WSA_RX1 Digital Volume' 68"
 ]
diff --git a/ucm2/codecs/qcom-lpass/wsa-macro/init.conf b/ucm2/codecs/qcom-lpass/wsa-macro/init.conf
new file mode 100644 (file)
index 0000000..29f7c39
--- /dev/null
@@ -0,0 +1,6 @@
+# WSA Digital codec specific volume control settings
+
+BootSequence [
+       cset "name='WSA_RX0 Digital Volume' 84"
+       cset "name='WSA_RX1 Digital Volume' 84"
+]
index 75a8fa40af9da24b97bcd18fab82516664234b7e..ae7d0fb4acec3197ccc90c1b044860642b41aaa0 100644 (file)
@@ -1,10 +1,4 @@
 # WSA883x specific volume control settings
-
-BootSequence [
-       cset "name='WSA_RX0 Digital Volume' 84"
-       cset "name='WSA_RX1 Digital Volume' 84"
-]
-
 LibraryConfig.remap.Config {
 
        ctl.default.map {