projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bfa426
)
ASoC: rt5665: add MONOVOL Playback Volume control
author
Bard Liao
<bardliao@realtek.com>
Mon, 24 Jul 2017 11:11:52 +0000
(19:11 +0800)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt5665.c
b/sound/soc/codecs/rt5665.c
index 7e64b25f8585e75dae7a19671e0f2b24d2407b58..54ace3b98ec3bbd87023c670507665712937beb2 100644
(file)
--- 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),