ASoC: rt5665: add MONOVOL Playback Volume control
authorBard Liao <bardliao@realtek.com>
Mon, 24 Jul 2017 11:11:52 +0000 (19:11 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jul 2017 12:06:14 +0000 (13:06 +0100)
MONOVOL Playback Volume is a playback volume control on "MONOVOL MIX".

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5665.c

index 7e64b25f8585e75dae7a19671e0f2b24d2407b58..54ace3b98ec3bbd87023c670507665712937beb2 100644 (file)
@@ -1402,6 +1402,9 @@ static const struct snd_kcontrol_new rt5665_snd_controls[] = {
                RT5665_L_VOL_SFT, 15, 1, snd_soc_get_volsw,
                rt5665_mono_vol_put, mono_vol_tlv),
 
+       SOC_SINGLE_TLV("MONOVOL Playback Volume", RT5665_MONO_OUT,
+               RT5665_L_VOL_SFT, 39, 1, out_vol_tlv),
+
        /* Output Volume */
        SOC_DOUBLE_TLV("OUT Playback Volume", RT5665_LOUT, RT5665_L_VOL_SFT,
                RT5665_R_VOL_SFT, 39, 1, out_vol_tlv),