summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2017-07-24 13:11:52 +0200
committerMark Brown <broonie@kernel.org>2017-07-24 14:06:14 +0200
commitb833786b69c14fe98846c38d36d8f6e5e92ccdd8 (patch)
tree738893ac41815c5eda490aabb7243ba9819e32d9 /sound/soc/codecs
parentASoC: rt5665: add clock sync control for master mode (diff)
downloadlinux-b833786b69c14fe98846c38d36d8f6e5e92ccdd8.tar.xz
linux-b833786b69c14fe98846c38d36d8f6e5e92ccdd8.zip
ASoC: rt5665: add MONOVOL Playback Volume control
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>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/rt5665.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5665.c b/sound/soc/codecs/rt5665.c
index 7e64b25f8585..54ace3b98ec3 100644
--- a/sound/soc/codecs/rt5665.c
+++ b/sound/soc/codecs/rt5665.c
@@ -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),