summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt5616.c
diff options
context:
space:
mode:
authorJohn Lin <john.lin@realtek.com>2016-03-07 07:12:11 +0300
committerMark Brown <broonie@kernel.org>2016-03-07 10:19:15 +0300
commitd7fcd13663fe43ad938fec1acd46ff196dddf914 (patch)
treeaff8f6ead392cddb3bb9695b056b5f6b5a89f8af /sound/soc/codecs/rt5616.c
parent288bc356a881fcdce05f9782736a6a3d9db359a9 (diff)
downloadlinux-d7fcd13663fe43ad938fec1acd46ff196dddf914.tar.xz
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/codecs/rt5616.c')
-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 */