From patchwork Wed May 13 08:15:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Boichat X-Patchwork-Id: 6394881 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F22C8BEEE1 for ; Wed, 13 May 2015 08:15:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DB09B20412 for ; Wed, 13 May 2015 08:15:39 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 7D8CC203FB for ; Wed, 13 May 2015 08:15:38 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 520CE2654C7; Wed, 13 May 2015 10:15:37 +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 002C92651C7; Wed, 13 May 2015 10:15:27 +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 6B5992651CB; Wed, 13 May 2015 10:15:25 +0200 (CEST) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by alsa0.perex.cz (Postfix) with ESMTP id 2650F2605EF for ; Wed, 13 May 2015 10:15:20 +0200 (CEST) Received: by pdbqa5 with SMTP id qa5so44054818pdb.1 for ; Wed, 13 May 2015 01:15:19 -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; bh=+qCXsMj6+YkWB1PLmYxILOl005oLuBbUIrx29GJN0IE=; b=ODBAH/rEda0UAQACUvs0/NgG+37tR3PCzZyROXSdAtZaD/9Bk1+hQKaiSywOrB8YvP uHEJgVsmiOGvSwkF5C0pwCft0zMZPOkESIN+kGyPVn8TqiL63mtX/Akl1PvJ5pno8tAV rUN+PfgLwXyT/6JbCJzrIMyHt7FftHc3dpPEo= 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=+qCXsMj6+YkWB1PLmYxILOl005oLuBbUIrx29GJN0IE=; b=RMngi2vFcpeiCN0ssqx760WiVCmy1ceD753Z3xAu3d6gbCiO+qlcqAEDcxgZvNnRTz x0ACRaZh7oTCd0KdaJiRfAgisc3Xo2VTNk5zNof/jUHRV41Iq719DD/vUec9Vq912smd l0t/dXMFrpCp4xkHf8m271eE5EFfXMnzPJ7dz+3Co2fCXJ4FI4xyUjtPXYXYrQ44bL/w itVY7asip4ESeM4VCaKCle90gFyeYPonMYsj/NGUWezKGosg4UyHBz9M/TEECJk/KOgk zxRrFGi6AeLFjDBNcRi67e6SrKxlie5pOWCQP0+1N3WCX1oksnza7x9FTYCmWjsUFSAk 3rig== X-Gm-Message-State: ALoCoQnudGrcn7blYMRyIfvMPXQiILjrHCx/vNuBOacG6SNGhfgY+91KcgJbY9DEKUyAagyPEM+u X-Received: by 10.68.250.229 with SMTP id zf5mr35783603pbc.158.1431504917832; Wed, 13 May 2015 01:15:17 -0700 (PDT) Received: from drinkcat.tpe.corp.google.com ([172.30.210.53]) by mx.google.com with ESMTPSA id yn5sm18563388pac.48.2015.05.13.01.15.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 May 2015 01:15:17 -0700 (PDT) From: Nicolas Boichat To: alsa-devel@alsa-project.org Date: Wed, 13 May 2015 16:15:12 +0800 Message-Id: <1431504912-30698-1-git-send-email-drinkcat@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c Cc: Oder Chiou , Bard Liao , Koro Chen 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 --- 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 */