Browse Source

ASoC: rt5645: fix the shift bit of IN1 boost

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
Bard Liao 9 years ago
parent
commit
b28785fa9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/soc/codecs/rt5645.c

+ 1 - 1
sound/soc/codecs/rt5645.c

@@ -600,7 +600,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),