From patchwork Thu May 14 00:43:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Boichat X-Patchwork-Id: 6401671 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3D93D9F1C2 for ; Thu, 14 May 2015 00:44:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 73147203F7 for ; Thu, 14 May 2015 00:44:30 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 21250203EB for ; Thu, 14 May 2015 00:44:29 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 97FC4265E1E; Thu, 14 May 2015 02:44:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 8F480265DEE; Thu, 14 May 2015 02:44:18 +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 A6F7B265E02; Thu, 14 May 2015 02:44:17 +0200 (CEST) Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by alsa0.perex.cz (Postfix) with ESMTP id 6A21F2614FF for ; Thu, 14 May 2015 02:44:12 +0200 (CEST) Received: by pabtp1 with SMTP id tp1so66536262pab.2 for ; Wed, 13 May 2015 17:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dyHdsd0UyPuI941WAZY+2dRKDeU6MPtEePTPl9hDs2Y=; b=ZjtEZKYLtQYv6zdGV36iQGJa+/qFNye5juFj+RKtEdcvyPTf+AN1ZhWhH/AgeZ7L9j bw7M3YS/7HAZalFMRCsB0e2vdHk1A4DN/+Sx8Ex/+y0NexKpWl4gVbqLLSwNE8nMM4Nd SmLp7mJ8e7PXgmBGU19Z9lVbX67SXVFnmMIao= 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:in-reply-to :references; bh=dyHdsd0UyPuI941WAZY+2dRKDeU6MPtEePTPl9hDs2Y=; b=W7Wwoq/Y66R/t8HRpkxCe/TMODpwZ9zpyRcJr4fwtVc3BGdFLOfdJm8pPMXiDwpxok EQuRE8LNiFzffVXACXntTaAZMjr0u6V/j7pvOsoZCPTOyDbun9ThjVCw/8miDtxDbLCQ M7zJ31vBWB0AKORTmXU3One26kLSY7xqLFI8thUrvbBpTh+ybLEuBf5f7LUu4DpBWx71 KG2UoBjNrICFjOUIDXtCCLa8/Emz4l1hUN+w1xQx07MwiDCw2Bg/nl6jbWaD7Tx3Li7n a66xnRGdnPGFwuA9p2ZhEgK8/JV2TSz2tVzH+jFJ95GIAdKE3Q4f3pL9/NhH/snKdRPC iq9w== X-Gm-Message-State: ALoCoQmH3oyqizQ2RiRhMstnPk2u2SG/D6M8wqczgrdZtZPUzs7+fk6o/VTTqRlKlWkGsN9QTFrf X-Received: by 10.70.93.36 with SMTP id cr4mr2835103pdb.68.1431564250908; Wed, 13 May 2015 17:44:10 -0700 (PDT) Received: from drinkcat.tpe.corp.google.com ([172.30.210.53]) by mx.google.com with ESMTPSA id tk9sm20429191pbc.35.2015.05.13.17.44.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 May 2015 17:44:10 -0700 (PDT) From: Nicolas Boichat To: Mark Brown Date: Thu, 14 May 2015 08:43:31 +0800 Message-Id: <1431564211-25641-1-git-send-email-drinkcat@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c In-Reply-To: <1431504912-30698-1-git-send-email-drinkcat@chromium.org> References: <1431504912-30698-1-git-send-email-drinkcat@chromium.org> Cc: Oder Chiou , alsa-devel@alsa-project.org, Nicolas Boichat , Koro Chen , Bard Liao , Charles Keepax Subject: [alsa-devel] [PATCH] ASoC: rt5645: Rename HP control to Headphone 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 Use the standard name "Headphone" instead of "HP" for better userspace integration. Signed-off-by: Nicolas Boichat Acked-by: Bard Liao --- Resending without modification, adding Mark to CC list. Thanks! sound/soc/codecs/rt5645.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index be4d741..bc925f0 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -464,9 +464,9 @@ static const struct snd_kcontrol_new rt5645_snd_controls[] = { RT5645_L_VOL_SFT, RT5645_R_VOL_SFT, 39, 1, out_vol_tlv), /* Headphone Output Volume */ - SOC_DOUBLE("HP Channel Switch", RT5645_HP_VOL, + SOC_DOUBLE("Headphone Channel Switch", RT5645_HP_VOL, RT5645_VOL_L_SFT, RT5645_VOL_R_SFT, 1, 1), - SOC_DOUBLE_TLV("HP Playback Volume", RT5645_HP_VOL, + SOC_DOUBLE_TLV("Headphone Playback Volume", RT5645_HP_VOL, RT5645_L_VOL_SFT, RT5645_R_VOL_SFT, 39, 1, out_vol_tlv), /* OUTPUT Control */