Skip to contentSkip to conversation

ASoC: rt5645: Rename HP control to Headphone

PATCH In review Nicolas Boichat 4 participants 5 messages May 13, 2015 – May 19, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: rt5645: Rename HP control to Headphone

Use the standard name "Headphone" instead of "HP" for better userspace integration.

---
 sound/soc/codecs/rt5645.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/rt5645.c +2 -2
index be4d741..bc925f0 100644
@@ -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 */
Signature · 1 line
2.2.0.rc0.207.ga3a616c
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines

-----Original Message-----
From: Nicolas Boichat [mailto:[email protected]]
Sent: Wednesday, May 13, 2015 4:15 PM
To: [email protected]
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.

Should we send it to Mark Brown <[email protected]>?

Quoted 2 lines

------Please consider the environment before printing this e-mail.

#2 lore raw
Quoted 7 lines · Bard Liao
Quoted 7 lines

-----Original Message-----
From: Nicolas Boichat [mailto:[email protected]]
Sent: Wednesday, May 13, 2015 4:15 PM
To: [email protected]
Cc: Bard Liao; Oder Chiou; Koro Chen
Subject: [PATCH] ASoC: rt5645: Rename HP control to Headphone

Quoted 8 lines
Quoted 4 lines

Use the standard name "Headphone" instead of "HP" for better userspace integration.

Should we send it to Mark Brown <[email protected]>?

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

Thanks,
Charles

#3 lore raw

PATCH 1/1 ASoC: rt5645: Rename HP control to Headphone

In reply to Nicolas Boichat

Use the standard name "Headphone" instead of "HP" for better userspace integration.

---

Resending without modification, adding Mark to CC list.

Thanks!

 sound/soc/codecs/rt5645.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/rt5645.c +2 -2
index be4d741..bc925f0 100644
@@ -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 */
Signature · 1 line
2.1.2
maintainer Applied
#4 lore raw
Quoted 2 lines · Nicolas Boichat

Use the standard name "Headphone" instead of "HP" for better userspace integration.

Applied, thanks.