diff options
author | 2017-07-24 19:11:52 +0800 | |
---|---|---|
committer | 2017-07-24 13:06:14 +0100 | |
commit | b833786b69c14fe98846c38d36d8f6e5e92ccdd8 (patch) | |
tree | 738893ac41815c5eda490aabb7243ba9819e32d9 | |
parent | ASoC: rt5665: add clock sync control for master mode (diff) | |
download | wireguard-linux-b833786b69c14fe98846c38d36d8f6e5e92ccdd8.tar.xz wireguard-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 '')
-rw-r--r-- | sound/soc/codecs/rt5665.c | 3 |
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), |