From patchwork Tue May 31 23:06:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolin Chen X-Patchwork-Id: 9145775 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 E07DD60757 for ; Tue, 31 May 2016 23:07:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D39DF20410 for ; Tue, 31 May 2016 23:07:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C81ED266CC; Tue, 31 May 2016 23:07:10 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, 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 0CA4620410 for ; Tue, 31 May 2016 23:07:09 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 8C6A3266B36; Wed, 1 Jun 2016 01:07:07 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D636C265E17; Wed, 1 Jun 2016 01:06:59 +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 220762669F3; Wed, 1 Jun 2016 01:06:58 +0200 (CEST) Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by alsa0.perex.cz (Postfix) with ESMTP id D59DA265E17 for ; Wed, 1 Jun 2016 01:06:50 +0200 (CEST) Received: by mail-pf0-f195.google.com with SMTP id f144so359106pfa.2 for ; Tue, 31 May 2016 16:06:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=7Z/cid2RPXRDp0sVP0IEFGBZJNQ/7kZY1QSRUE0hS6o=; b=Gc4tTcycGhLKchIArojjRJHWCX6BemUTUbuUzKd6pmzneMWBMXZxDQlJeHjOQ1Y77l 0DQfwLsJPt+Sh1JrWyHtdrNIJ0zBsbgfredyuYg25uusqRb4wNXgnZmyFbsxRjm56To+ I6D3X+BZ/24jkQASu54sNC+NJXWgGZUG5J7nj09zTaQebke9NlevOlyle0jFDrZosayt 4OhN0vhjM70w+76iWYASsjGa8BJvBtnZ0Hgp/d0Ls3wgPqPbTQsrIHOIdVaL3g0Nj84f MJZo0x7zRT0yM/IOB9yXmJmsZwg5jW0LpSu9kcxyD8A1nqxvAQj6tXOUaxYNhHEiuZBj hZuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7Z/cid2RPXRDp0sVP0IEFGBZJNQ/7kZY1QSRUE0hS6o=; b=Sj5OpaxeW4J60swanqHvPca8+pDSvipmYyXuJ1T91k/Wg9jJkFVhFayd798YfrtEIB psPXt+XEDx6LAy8Z9ydShsbFMYpeYRiGs15xCGCus/oz8ah3Cs9bFijtocv0uc5e2BrY +SUe7EylpdF6aHdaBj0/DN81a9SlczpivIadS460B5Ieivnj5CK7kn15lxTS6fIaVmSp CaGLW/HMfnKiSZnSpmxoyggMInrmHkaAnd6brlIfDj7qvKSd3pDTN4pHk+gtEu9XMNMn FGDuyKYLjHKvlc3A+9RWPF++Hy7oqSWgM8clFCGVebuj7K08gGzKPjv2pd82/KzpC0xE eQAA== X-Gm-Message-State: ALyK8tI/iuNBpNWPRqPdnaanwDXUWgQiVI/DRYHIY+1H1XRBKt01d8DpZQZbpFY+cBLs7Q== X-Received: by 10.98.56.84 with SMTP id f81mr1248110pfa.83.1464736009345; Tue, 31 May 2016 16:06:49 -0700 (PDT) Received: from Asurada-Nvidia.nvidia.com (searspoint.nvidia.com. [216.228.112.21]) by smtp.gmail.com with ESMTPSA id o1sm57324410pax.24.2016.05.31.16.06.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 May 2016 16:06:48 -0700 (PDT) From: Nicolin Chen To: broonie@kernel.org Date: Tue, 31 May 2016 16:06:38 -0700 Message-Id: <1464735999-10384-1-git-send-email-nicoleotsuka@gmail.com> X-Mailer: git-send-email 2.1.4 Cc: brian.austin@cirrus.com, alsa-devel@alsa-project.org, lgirdwood@gmail.com, Paul.Handrigan@cirrus.com, linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH 1/2] ASoC: cs53l30: Rename the volume controls for preamplifier 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 Volume controls should end with 'Volume', so this patch renames them for ADC preamplifier. Signed-off-by: Nicolin Chen Acked-by: Paul Handrigan --- sound/soc/codecs/cs53l30.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/cs53l30.c b/sound/soc/codecs/cs53l30.c index 714e579..9aff449 100644 --- a/sound/soc/codecs/cs53l30.c +++ b/sound/soc/codecs/cs53l30.c @@ -331,10 +331,10 @@ static const struct snd_kcontrol_new cs53l30_snd_controls[] = { SOC_SINGLE_TLV("ADC2 NG Boost Volume", CS53L30_ADC2_NG_CTL, CS53L30_ADCx_NG_BOOST_SHIFT, 1, 0, adc_ng_boost_tlv), - SOC_DOUBLE_R_TLV("ADC1 Pre Amp Gain", CS53L30_ADC1A_AFE_CTL, + SOC_DOUBLE_R_TLV("ADC1 Preamplifier Volume", CS53L30_ADC1A_AFE_CTL, CS53L30_ADC1B_AFE_CTL, CS53L30_ADCxy_PREAMP_SHIFT, 2, 0, pga_preamp_tlv), - SOC_DOUBLE_R_TLV("ADC2 Pre Amp Gain", CS53L30_ADC2A_AFE_CTL, + SOC_DOUBLE_R_TLV("ADC2 Preamplifier Volume", CS53L30_ADC2A_AFE_CTL, CS53L30_ADC2B_AFE_CTL, CS53L30_ADCxy_PREAMP_SHIFT, 2, 0, pga_preamp_tlv),