summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJohn Lin <john.lin@realtek.com>2016-03-07 05:12:11 +0100
committerMark Brown <broonie@kernel.org>2016-03-07 08:19:15 +0100
commitd7fcd13663fe43ad938fec1acd46ff196dddf914 (patch)
treeaff8f6ead392cddb3bb9695b056b5f6b5a89f8af /sound
parentASoC: rt5616: allow to build with CONFIG_SND_SOC_RT5616 (diff)
downloadlinux-d7fcd13663fe43ad938fec1acd46ff196dddf914.tar.xz
linux-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')
-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 */