summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2016-01-21 13:13:40 +0800
committerSasha Levin <sasha.levin@oracle.com>2016-02-23 00:46:40 -0500
commit69cc9251b85d6ddfd8e94b6be60aacdceec98b22 (patch)
treeb637ecea7f8efe8ec5ced424e04682d747887a48 /sound/soc
parent789a2e5a69bc3dd5197b8f51451359d06c4ac8a1 (diff)
ASoC: rt5645: fix the shift bit of IN1 boost
[ Upstream commit b28785fa9cede0d4f47310ca0dd2a4e1d50478b5 ] The shift bit of IN1 boost gain control is 12. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/rt5645.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 2ee44abd56a6..6cbd03a5e53d 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -487,7 +487,7 @@ static const struct snd_kcontrol_new rt5645_snd_controls[] = {
/* IN1/IN2 Control */
SOC_SINGLE_TLV("IN1 Boost", RT5645_IN1_CTRL1,
- RT5645_BST_SFT1, 8, 0, bst_tlv),
+ RT5645_BST_SFT1, 12, 0, bst_tlv),
SOC_SINGLE_TLV("IN2 Boost", RT5645_IN2_CTRL,
RT5645_BST_SFT2, 8, 0, bst_tlv),