projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5781942
)
ASoC: rt5682: Revise the DAC1 volume setting
author
Oder Chiou
<oder_chiou@realtek.com>
Fri, 13 Mar 2020 02:38:50 +0000
(10:38 +0800)
committer
Mark Brown
<broonie@kernel.org>
Fri, 13 Mar 2020 14:49:59 +0000
(14:49 +0000)
The max volume of the DAC1 Playback Volume is 0dB.
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Link:
https://lore.kernel.org/r/20200313023850.28875-2-oder_chiou@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5682.c
b/sound/soc/codecs/rt5682.c
index ae6f6121bc1b0ffadef6f57828b46b0fe89da958..063dd338539d58a3f9c91d11d0eeb9716b6bbfcf 100644
(file)
--- a/
sound/soc/codecs/rt5682.c
+++ b/
sound/soc/codecs/rt5682.c
@@
-1146,7
+1146,7
@@
static void rt5682_jack_detect_handler(struct work_struct *work)
static const struct snd_kcontrol_new rt5682_snd_controls[] = {
/* DAC Digital Volume */
SOC_DOUBLE_TLV("DAC1 Playback Volume", RT5682_DAC1_DIG_VOL,
- RT5682_L_VOL_SFT + 1, RT5682_R_VOL_SFT + 1, 8
6
, 0, dac_vol_tlv),
+ RT5682_L_VOL_SFT + 1, RT5682_R_VOL_SFT + 1, 8
7
, 0, dac_vol_tlv),
/* IN Boost Volume */
SOC_SINGLE_TLV("CBJ Boost Volume", RT5682_CBJ_BST_CTRL,