diff mbox

ASoC: rt5645: Rename HP control to Headphone

Message ID 1431504912-30698-1-git-send-email-drinkcat@chromium.org (mailing list archive)
State Accepted
Commit 692768c4b28ddfc96f5ff752048826b859bd71ca
Headers show

Commit Message

Nicolas Boichat May 13, 2015, 8:15 a.m. UTC
Use the standard name "Headphone" instead of "HP" for better
userspace integration.

Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
---
 sound/soc/codecs/rt5645.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Bard Liao May 13, 2015, 11:59 a.m. UTC | #1
> -----Original Message-----
> From: Nicolas Boichat [mailto:drinkcat@chromium.org]
> Sent: Wednesday, May 13, 2015 4:15 PM
> To: alsa-devel@alsa-project.org
> Cc: Bard Liao; Oder Chiou; Koro Chen
> Subject: [PATCH] ASoC: rt5645: Rename HP control to Headphone
> 
> Use the standard name "Headphone" instead of "HP" for better userspace
> integration.
> 
> Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>

Acked-by: Bard Liao <bardliao@realtek.com>

Should we send it to Mark Brown <broonie@kernel.org>?

> 
> ------Please consider the environment before printing this e-mail.
Charles Keepax May 13, 2015, 2:45 p.m. UTC | #2
On Wed, May 13, 2015 at 11:59:43AM +0000, Bard Liao wrote:
> > -----Original Message-----
> > From: Nicolas Boichat [mailto:drinkcat@chromium.org]
> > Sent: Wednesday, May 13, 2015 4:15 PM
> > To: alsa-devel@alsa-project.org
> > Cc: Bard Liao; Oder Chiou; Koro Chen
> > Subject: [PATCH] ASoC: rt5645: Rename HP control to Headphone
> > 
> > Use the standard name "Headphone" instead of "HP" for better userspace
> > integration.
> > 
> > Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
> 
> Acked-by: Bard Liao <bardliao@realtek.com>
> 
> Should we send it to Mark Brown <broonie@kernel.org>?

Yes, he is the maintainer that would apply it so the patch needs
to be sent to him.

Thanks,
Charles
diff mbox

Patch

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 */