From patchwork Thu Aug 10 11:36:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 9893317 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1598D60236 for ; Thu, 10 Aug 2017 11:36:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0641A28AE9 for ; Thu, 10 Aug 2017 11:36:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC11D28AED; Thu, 10 Aug 2017 11:36:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0AFE928AE9 for ; Thu, 10 Aug 2017 11:36:28 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 226E1266C99; Thu, 10 Aug 2017 13:36:26 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0A37D2674ED; Thu, 10 Aug 2017 13:36:25 +0200 (CEST) Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by alsa0.perex.cz (Postfix) with ESMTP id D837B2665D5 for ; Thu, 10 Aug 2017 13:36:22 +0200 (CEST) Received: by mail-io0-f172.google.com with SMTP id g35so8502675ioi.3 for ; Thu, 10 Aug 2017 04:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=ytegP4BfqEhSpImAR5QofzHiM+GqxoPMr4gg7ZvWlE8=; b=PGZBHkxx2hyaF9XDIHoVybvEd2s1GYBRrCBMETVigwUbIx14iuZY8bZ7P79MUd7k7l FP1oLa9Xv4Pj0XhYB6FfB282QpMMlbk/dQmvhdrOO1mfK+w1Uv2isCjLstOyW5ABTcz6 47OVt1ZkPZwfN6mTX38kgBlsvc/NptdkCoQK0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ytegP4BfqEhSpImAR5QofzHiM+GqxoPMr4gg7ZvWlE8=; b=AehJDgze+oXCLMHAKdndD7kdqzlDYAJ3KdZ3IkGHi/TbDa0GGwUOyFiKF8sfJoDJuR pNXuLXnJth0NHnPhgWmq0lm6W6SwmQ+LcIjreerNxxTgO5sB6ProMmpDWUZqQXOFquqO MjjNseD01NcVscvo4jicbTOjBuTyr36XsCLLdCpUb6/ztKBakF1WmrvYe/G/hgbYzPH5 T/127rlpyJ+rotSNxilSc+eAC+Vc6GBs1KqmHQQaerdEEQ8cDJVBhfHSMKgwVG5wsL7Q tENNw+aYCgzCr35t965zTQ+vMdivZJ4pnvs+sExevRCzcJPtoHIgxlZpOdOdhS17/rAc G45w== X-Gm-Message-State: AHYfb5jgm4zs8B+jpWkr6+8Qsh+AfaU/w5Ic/yUm6Ib3GdfUtxfYl9Fd FMVZMzjWfQzI9Xe+ X-Received: by 10.107.145.3 with SMTP id t3mr9453999iod.16.1502364980900; Thu, 10 Aug 2017 04:36:20 -0700 (PDT) Received: from localhost.localdomain (static.8.26.4.46.clients.your-server.de. [46.4.26.8]) by smtp.gmail.com with ESMTPSA id w135sm3129276itc.42.2017.08.10.04.36.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Aug 2017 04:36:20 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: Takashi Iwai , alsa-devel@alsa-project.org Date: Thu, 10 Aug 2017 13:36:16 +0200 Message-Id: <20170810113616.4270-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.11.0 Cc: Srinivas Kandagatla Subject: [alsa-devel] [PATCH] conf/ucm: DB410c-HiFi: add CIC selection X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Srinivas Kandagatla 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 --- 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 [