[alsa-devel] [PATCH] conf/ucm: DB410c-HiFi: add CIC selection

srinivas.kandagatla at linaro.org srinivas.kandagatla at linaro.org
Thu Aug 10 13:36:16 CEST 2017


From: Srinivas Kandagatla <srinivas.kandagatla at linaro.org>

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 at linaro.org>
---
 src/conf/ucm/DB410c/HiFi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/conf/ucm/DB410c/HiFi b/src/conf/ucm/DB410c/HiFi
index f9cbcf0..dcb7ac9 100644
--- a/src/conf/ucm/DB410c/HiFi
+++ b/src/conf/ucm/DB410c/HiFi
@@ -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 [
-- 
2.9.3



More information about the Alsa-devel mailing list