Skip to content

Commit

Permalink
codecs: qcom-lpass/tx-macro: Move TX1 MODE ctrl to
Browse files Browse the repository at this point in the history
The tx-macro is a common interface for WCD937x and wcd938x and
also the TX1 MODE setting is not applicable for WCD937x codec.

The TX1 MODE mixer controller is derived in WCD938x codec driver,
So move TX1 MODE mixer control to wcd938x.

Closes: #421
Signed-off-by: Mohammad Rafi Shaik <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
mohsRafi authored and perexg committed May 31, 2024
1 parent 706afef commit 9856a0a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
DisableSequence [
cset "name='TX SMIC MUX0' ZERO"
cset "name='TX_AIF1_CAP Mixer DEC0' 0"
cset "name='TX1 MODE' ADC_INVALID"
]
1 change: 0 additions & 1 deletion ucm2/codecs/qcom-lpass/tx-macro/HeadphoneMicEnableSeq.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ EnableSequence [
cset "name='TX DEC0 MUX' SWR_MIC"
cset "name='TX SMIC MUX0' ADC1"
cset "name='TX_AIF1_CAP Mixer DEC0' 1"
cset "name='TX1 MODE' ADC_NORMAL"
cset "name='TX_DEC0 Volume' 110"
]
1 change: 1 addition & 0 deletions ucm2/codecs/wcd938x/HeadphoneMicDisableSeq.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
DisableSequence [
cset "name='ADC2_MIXER Switch' 0"
cset "name='ADC2 Switch' 0"
set "name='TX1 MODE' ADC_INVALID"
]
1 change: 1 addition & 0 deletions ucm2/codecs/wcd938x/HeadphoneMicEnableSeq.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ EnableSequence [
cset "name='HDR12 MUX' NO_HDR12"
cset "name='ADC2 MUX' INP2"
cset "name='ADC2 Switch' 1"
set "name='TX1 MODE' ADC_NORMAL"
]

0 comments on commit 9856a0a

Please sign in to comment.