ASoC: rt5616: add missing mute control for HPVOL
authorJohn Lin <john.lin@realtek.com>
Mon, 7 Mar 2016 04:12:11 +0000 (12:12 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 7 Mar 2016 07:19:15 +0000 (14:19 +0700)
Add missing kcontrol for HPVOL mute control.

Signed-off-by: John Lin <john.lin@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5616.c

index 3704d0716c04212143a056cde0e78cc50e2ac5c4..f527b5b2817ba4f432766acd677c1e84c23174d5 100644 (file)
@@ -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 */