diff options
author | 2016-03-07 12:12:11 +0800 | |
---|---|---|
committer | 2016-03-07 14:19:15 +0700 | |
commit | d7fcd13663fe43ad938fec1acd46ff196dddf914 (patch) | |
tree | aff8f6ead392cddb3bb9695b056b5f6b5a89f8af /sound | |
parent | ASoC: rt5616: allow to build with CONFIG_SND_SOC_RT5616 (diff) | |
download | linux-d7fcd13663fe43ad938fec1acd46ff196dddf914.tar.gz linux-d7fcd13663fe43ad938fec1acd46ff196dddf914.tar.bz2 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.c | 2 |
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 */ |