[alsa-devel] [PATCH alsa-ucm-conf 6/7] codecs/msm8916-wcd: SecondaryMic: Select correct input

Stephan Gerhold stephan at gerhold.net
Tue Jan 14 12:21:09 CET 2020


At the moment, enabling "SecondaryMic" actually results in enabling
the HeadsetMic. The enable sequence for the secondary microphone
is similar, but ADC2 MUX must be set to INP3 and the volume set
through ADC3 Volume.

Cc: Srinivas Kandagatla <srinivas.kandagatla at linaro.org>
Signed-off-by: Stephan Gerhold <stephan at gerhold.net>
---
 ucm2/codecs/msm8916-wcd/SecondaryMic.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ucm2/codecs/msm8916-wcd/SecondaryMic.conf b/ucm2/codecs/msm8916-wcd/SecondaryMic.conf
index 7811509..fdc5df8 100644
--- a/ucm2/codecs/msm8916-wcd/SecondaryMic.conf
+++ b/ucm2/codecs/msm8916-wcd/SecondaryMic.conf
@@ -4,13 +4,13 @@ SectionDevice."SecondaryMic" {
 	EnableSequence [
 		cset "name='DEC1 MUX' ADC2"
 		cset "name='CIC1 MUX' AMIC"
-		cset "name='ADC2 Volume' 8"
-		cset "name='ADC2 MUX' INP2"
+		cset "name='ADC3 Volume' 8"
+		cset "name='ADC2 MUX' INP3"
 	]
 
 	DisableSequence [
 		cset "name='DEC1 MUX' ZERO"
-		cset "name='ADC2 Volume' 0"
+		cset "name='ADC3 Volume' 0"
 		cset "name='ADC2 MUX' ZERO"
 	]
 }
-- 
2.24.1



More information about the Alsa-devel mailing list