aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorZidan Wang <zidan.wang@freescale.com>2015-09-18 17:19:43 +0800
committerMark Brown <broonie@kernel.org>2015-09-19 07:51:09 -0700
commit8524bb0c7ac688a3cd6ba12dae6104c54d0566b9 (patch)
tree25dc4a4aefcaf9cfc16f65a81e06dd94728aec36 /sound
parent7e90f9b2b56669260e5f6f97974735d187f79b7d (diff)
downloadlinux-8524bb0c7ac688a3cd6ba12dae6104c54d0566b9.tar.gz
ASoC: wm8960: correct the max register value of mic boost pga
the max register value of mic boost pga should be 3. Signed-off-by: Zidan Wang <zidan.wang@freescale.com> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8960.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c
index 70816f02ea8c..d9b43b00244e 100644
--- a/sound/soc/codecs/wm8960.c
+++ b/sound/soc/codecs/wm8960.c
@@ -234,9 +234,9 @@ SOC_SINGLE_TLV("Left Input Boost Mixer LINPUT3 Volume",
SOC_SINGLE_TLV("Left Input Boost Mixer LINPUT2 Volume",
WM8960_INBMIX2, 1, 7, 0, lineinboost_tlv),
SOC_SINGLE_TLV("Right Input Boost Mixer RINPUT1 Volume",
- WM8960_RINPATH, 4, 4, 0, micboost_tlv),
+ WM8960_RINPATH, 4, 3, 0, micboost_tlv),
SOC_SINGLE_TLV("Left Input Boost Mixer LINPUT1 Volume",
- WM8960_LINPATH, 4, 4, 0, micboost_tlv),
+ WM8960_LINPATH, 4, 3, 0, micboost_tlv),
SOC_DOUBLE_R_TLV("Playback Volume", WM8960_LDAC, WM8960_RDAC,
0, 255, 0, dac_tlv),