From patchwork Fri Jul 20 01:48:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bard Liao X-Patchwork-Id: 10535879 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 0F2E0600D0 for ; Fri, 20 Jul 2018 01:58:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0BA4293BD for ; Fri, 20 Jul 2018 01:58:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4DE3293F3; Fri, 20 Jul 2018 01:58:44 +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=-2.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham 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 96CCF293F7 for ; Fri, 20 Jul 2018 01:58:43 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 2671826774A; Fri, 20 Jul 2018 03:48:46 +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 F3FAF26772E; Fri, 20 Jul 2018 03:48:41 +0200 (CEST) Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by alsa0.perex.cz (Postfix) with ESMTP id BE5D5267711 for ; Fri, 20 Jul 2018 03:48:37 +0200 (CEST) Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID w6K1mYFi011583, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtitcasv01.realtek.com.tw[172.21.6.18]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id w6K1mYFi011583 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NOT); Fri, 20 Jul 2018 09:48:34 +0800 Received: from localhost.localdomain (172.22.102.1) by RTITCASV01.realtek.com.tw (172.21.6.18) with Microsoft SMTP Server id 14.3.399.0; Fri, 20 Jul 2018 09:48:34 +0800 From: Bard Liao To: , Date: Fri, 20 Jul 2018 09:48:19 +0800 Message-ID: <1532051300-11884-2-git-send-email-bardliao@realtek.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1532051300-11884-1-git-send-email-bardliao@realtek.com> References: <1532051300-11884-1-git-send-email-bardliao@realtek.com> MIME-Version: 1.0 X-Originating-IP: [172.22.102.1] Cc: oder_chiou@realtek.com, jack.yu@realtek.com, alsa-devel@alsa-project.org, pierre-louis.bossart@linux.intel.com, hdegoede@redhat.com, shumingf@realtek.com, Bard Liao , flove@realtek.com Subject: [alsa-devel] [PATCH 2/3] ASoC: rt5640: add Volume to the name of volume control 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP add Volume to the name of volume control. Signed-off-by: Bard Liao --- sound/soc/codecs/rt5640.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c index 8bf8d36..2140157 100644 --- a/sound/soc/codecs/rt5640.c +++ b/sound/soc/codecs/rt5640.c @@ -407,11 +407,11 @@ static const struct snd_kcontrol_new rt5640_snd_controls[] = { RT5640_L_VOL_SFT, RT5640_R_VOL_SFT, 175, 0, dac_vol_tlv), /* IN1/IN2/IN3 Control */ - SOC_SINGLE_TLV("IN1 Boost", RT5640_IN1_IN2, + SOC_SINGLE_TLV("IN1 Boost Volume", RT5640_IN1_IN2, RT5640_BST_SFT1, 8, 0, bst_tlv), - SOC_SINGLE_TLV("IN2 Boost", RT5640_IN3_IN4, + SOC_SINGLE_TLV("IN2 Boost Volume", RT5640_IN3_IN4, RT5640_BST_SFT2, 8, 0, bst_tlv), - SOC_SINGLE_TLV("IN3 Boost", RT5640_IN1_IN2, + SOC_SINGLE_TLV("IN3 Boost Volume", RT5640_IN1_IN2, RT5640_BST_SFT2, 8, 0, bst_tlv), /* INL/INR Volume Control */