Skip to content

Commit

Permalink
ucm2: codecs: lpass-rx: use set Digital gain at 0dB
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
  • Loading branch information
Srinivas-Kandagatla committed Sep 29, 2023
1 parent c3c5559 commit e8c3e77
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 6 additions & 0 deletions ucm2/codecs/qcom-lpass/rx-macro/init.conf
Original file line number Diff line number Diff line change
@@ -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"
]
2 changes: 0 additions & 2 deletions ucm2/codecs/wcd938x/DefaultEnableSeq.conf
Original file line number Diff line number Diff line change
@@ -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"
]
2 changes: 0 additions & 2 deletions ucm2/codecs/wcd938x/init.conf
Original file line number Diff line number Diff line change
@@ -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"
]

Expand Down

0 comments on commit e8c3e77

Please sign in to comment.