summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorJohn Lin <john.lin@realtek.com>2016-03-07 12:12:11 +0800
committerMark Brown <broonie@kernel.org>2016-03-07 14:19:15 +0700
commitd7fcd13663fe43ad938fec1acd46ff196dddf914 (patch)
treeaff8f6ead392cddb3bb9695b056b5f6b5a89f8af /sound/soc
parent288bc356a881fcdce05f9782736a6a3d9db359a9 (diff)
downloadlwn-d7fcd13663fe43ad938fec1acd46ff196dddf914.tar.gz
lwn-d7fcd13663fe43ad938fec1acd46ff196dddf914.zip
ASoC: rt5616: add missing mute control for HPVOL
Add missing kcontrol for HPVOL mute control. Signed-off-by: John Lin <john.lin@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/rt5616.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5616.c b/sound/soc/codecs/rt5616.c
index 3704d0716c04..f527b5b2817b 100644
--- a/sound/soc/codecs/rt5616.c
+++ b/sound/soc/codecs/rt5616.c
@@ -309,6 +309,8 @@ static const struct snd_kcontrol_new rt5616_snd_controls[] = {
/* Headphone Output Volume */
SOC_DOUBLE("HP Playback Switch", RT5616_HP_VOL,
RT5616_L_MUTE_SFT, RT5616_R_MUTE_SFT, 1, 1),
+ SOC_DOUBLE("HPVOL Playback Switch", RT5616_HP_VOL,
+ RT5616_VOL_L_SFT, RT5616_VOL_R_SFT, 1, 1),
SOC_DOUBLE_TLV("HP Playback Volume", RT5616_HP_VOL,
RT5616_L_VOL_SFT, RT5616_R_VOL_SFT, 39, 1, out_vol_tlv),
/* OUTPUT Control */