]> git.alsa-project.org Git - alsa-lib.git/commitdiff
conf/ucm: DB410c-HiFi: add CIC selection
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 10 Aug 2017 11:36:16 +0000 (13:36 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Aug 2017 15:57:57 +0000 (17:57 +0200)
This patch adds CIC selection controls which have been added recently to
the kernel to select mic source.

Without this patch user has to manually select the control to record
from DMIC or AMIC.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/conf/ucm/DB410c/HiFi

index f9cbcf053e8423aba87414cf63f4ac3cb9b76142..dcb7ac986848482c9a65efd0878138b21c8eed9a 100644 (file)
@@ -108,6 +108,7 @@ SectionDevice."Handset" {
        EnableSequence [
                cdev "hw:0"
                cset "name='DEC1 MUX' ADC2"
+               cset "name='CIC1 MUX' AMIC"
                cset "name='ADC2 Volume' 8"
                cset "name='ADC2 MUX' INP2"
        ]
@@ -130,6 +131,7 @@ SectionDevice."Primarymic" {
        EnableSequence [
                cdev "hw:0"
                cset "name='DEC1 MUX' ADC1"
+               cset "name='CIC1 MUX' AMIC"
                cset "name='ADC1 Volume' 8"
        ]
 
@@ -150,6 +152,7 @@ SectionDevice."Secondarymic" {
        EnableSequence [
                cdev "hw:0"
                cset "name='DEC1 MUX' ADC2"
+               cset "name='CIC1 MUX' AMIC"
                cset "name='ADC2 Volume' 8"
                cset "name='ADC2 MUX' INP2"
        ]
@@ -172,6 +175,7 @@ SectionDevice."DMIC" {
        EnableSequence [
                cdev "hw:0"
                cset "name='DEC1 MUX' DMIC1"
+               cset "name='CIC1 MUX' DMIC"
        ]
 
        DisableSequence [