]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: rt5677: Modify the voltage level in the BIAS OFF stage
authorOder Chiou <oder_chiou@realtek.com>
Mon, 7 Jul 2014 07:37:00 +0000 (15:37 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 7 Jul 2014 08:09:34 +0000 (10:09 +0200)
The patch modifies the voltage level in the BIAS OFF stage

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/rt5677.c

index 98370ae3b38d138f1fa7de66dc639836f1718475..67f14556462ff35bd6601062fc55a40ec2a96310 100644 (file)
@@ -3124,7 +3124,7 @@ static int rt5677_set_bias_level(struct snd_soc_codec *codec,
                regmap_update_bits(rt5677->regmap, RT5677_DIG_MISC, 0x1, 0x0);
                regmap_write(rt5677->regmap, RT5677_PWR_DIG1, 0x0000);
                regmap_write(rt5677->regmap, RT5677_PWR_DIG2, 0x0000);
-               regmap_write(rt5677->regmap, RT5677_PWR_ANLG1, 0x0000);
+               regmap_write(rt5677->regmap, RT5677_PWR_ANLG1, 0x0022);
                regmap_write(rt5677->regmap, RT5677_PWR_ANLG2, 0x0000);
                regmap_update_bits(rt5677->regmap,
                        RT5677_PR_BASE + RT5677_BIAS_CUR4, 0x0f00, 0x0000);