ucm2: da7213: Fix mic capture in HeadphoneMic2 use case

Set Mic 2 Volume to index 4 (+18 dB) and Mixin PGA Volume to index
10 (+10.5 dB) for sufficient microphone capture gain.

Remove headphone output controls (Headphone Volume, Headphone Switch,
Mixout DAC switches) as these belong to HeadphoneEnableSeq.conf and
should not be duplicated in the capture sequence.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/730
Signed-off-by: Le Qi <le.qi@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Le Qi 2026-03-23 15:20:24 +08:00 committed by Jaroslav Kysela
commit fe07c17c05
2 changed files with 2 additions and 7 deletions

View file

@ -4,7 +4,4 @@ DisableSequence [
cset "name='Mixin Right Mic 2 Switch' off"
cset "name='Mixin PGA Switch' off"
cset "name='ADC Switch' off"
cset "name='Headphone Switch' off"
cset "name='Mixout Left DAC Left Switch' off"
cset "name='Mixout Right DAC Right Switch' off"
]

View file

@ -6,10 +6,8 @@ EnableSequence [
cset "name='Mixin Right Mic 2 Switch' on"
cset "name='Mixin PGA Switch' on"
cset "name='ADC Switch' on"
cset "name='Mic 2 Volume' 4"
cset "name='Mixin PGA Volume' 10,10"
cset "name='DAI Left Source MUX' ADC Left"
cset "name='DAI Right Source MUX' ADC Right"
cset "name='Headphone Volume' 85"
cset "name='Headphone Switch' on"
cset "name='Mixout Left DAC Left Switch' on"
cset "name='Mixout Right DAC Right Switch' on"
]