]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: codecs: lpass-rx: use set Digital gain at 0dB
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 27 Sep 2023 12:22:24 +0000 (13:22 +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 HP volume.
Fix this to 0dB and let Analog gain control HP volume.
Also remove all redundant setting of this control.

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/rx-macro/init.conf [new file with mode: 0644]
ucm2/codecs/wcd938x/DefaultEnableSeq.conf
ucm2/codecs/wcd938x/init.conf

index dd8f584bd677337ce50c28838ec18367dc9ce969..aea66d86f3be9d3f4515dfb87f89b56d6efcff85 100644 (file)
@@ -10,3 +10,4 @@ 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"
diff --git a/ucm2/codecs/qcom-lpass/rx-macro/init.conf b/ucm2/codecs/qcom-lpass/rx-macro/init.conf
new file mode 100644 (file)
index 0000000..55b6927
--- /dev/null
@@ -0,0 +1,6 @@
+# RX Digital codec specific volume control settings
+
+BootSequence [
+       cset "name='RX_RX0 Digital Volume' 84"
+       cset "name='RX_RX1 Digital Volume' 84"
+]
index d283a5d923154a24ba41b3ca72efddb2022d3852..5da6717468bd746a73344245e5093a66d29cd6c7 100644 (file)
@@ -1,6 +1,4 @@
 EnableSequence [
-       cset "name='RX_RX0 Digital Volume' 80"
-       cset "name='RX_RX1 Digital Volume' 80"
        cset "name='HPHR Volume' 20"
        cset "name='HPHL Volume' 20"
 ]
index 3b7c119f982023669aa6680fa000630a74842190..c2a418c7930dd4781ac8c9f9e140d5636db6bb25 100644 (file)
@@ -1,8 +1,6 @@
 # WCD938X specific volume control settings
 
 BootSequence [
-       cset "name='RX_RX0 Digital Volume' 84"
-       cset "name='RX_RX1 Digital Volume' 84"
        cset "name='ADC2 Volume' 12"
 ]