ASoC: rt5645: Rename HP control to Headphone
Subsystems (3)
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
@@ -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
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 HeadphoneUse the standard name "Headphone" instead of "HP" for better userspace integration.
Signed-off-by Nicolas Boichat <[email protected]>
Should we send it to Mark Brown <[email protected]>?
Quoted 2 lines
------Please consider the environment before printing this e-mail.
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.
Signed-off-by Nicolas Boichat <[email protected]>Acked-by Bard Liao <[email protected]>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
PATCH 1/1 ASoC: rt5645: Rename HP control to Headphone
In reply to Nicolas BoichatUse 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
@@ -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
Quoted 2 lines · Nicolas Boichat
Use the standard name "Headphone" instead of "HP" for better userspace integration.
Applied, thanks.