aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2016-10-27 01:21:54 -0400
committerMark Brown <broonie@kernel.org>2016-10-27 06:13:22 -0400
commitc8c6f0d81de67198522e3f31142986c27d3cba81 (patch)
tree3ce6561e94eeef07c6547b4d3599306399785199
parenta5d93da13c8671f6453ae273cbf1d5c61b897a33 (diff)
ASoC: rt5670: increse LDO power
Inrecse LDO power for better performance. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/rt5670.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c
index 6caac92143d4..12d3bc14a558 100644
--- a/sound/soc/codecs/rt5670.c
+++ b/sound/soc/codecs/rt5670.c
@@ -2618,7 +2618,7 @@ static int rt5670_set_bias_level(struct snd_soc_codec *codec,
2618 RT5670_OSW_L_DIS | RT5670_OSW_R_DIS); 2618 RT5670_OSW_L_DIS | RT5670_OSW_R_DIS);
2619 snd_soc_update_bits(codec, RT5670_DIG_MISC, 0x1, 0x1); 2619 snd_soc_update_bits(codec, RT5670_DIG_MISC, 0x1, 0x1);
2620 snd_soc_update_bits(codec, RT5670_PWR_ANLG1, 2620 snd_soc_update_bits(codec, RT5670_PWR_ANLG1,
2621 RT5670_LDO_SEL_MASK, 0x3); 2621 RT5670_LDO_SEL_MASK, 0x5);
2622 } 2622 }
2623 break; 2623 break;
2624 case SND_SOC_BIAS_STANDBY: 2624 case SND_SOC_BIAS_STANDBY:
@@ -2626,7 +2626,7 @@ static int rt5670_set_bias_level(struct snd_soc_codec *codec,
2626 RT5670_PWR_VREF1 | RT5670_PWR_VREF2 | 2626 RT5670_PWR_VREF1 | RT5670_PWR_VREF2 |
2627 RT5670_PWR_FV1 | RT5670_PWR_FV2, 0); 2627 RT5670_PWR_FV1 | RT5670_PWR_FV2, 0);
2628 snd_soc_update_bits(codec, RT5670_PWR_ANLG1, 2628 snd_soc_update_bits(codec, RT5670_PWR_ANLG1,
2629 RT5670_LDO_SEL_MASK, 0x1); 2629 RT5670_LDO_SEL_MASK, 0x3);
2630 break; 2630 break;
2631 case SND_SOC_BIAS_OFF: 2631 case SND_SOC_BIAS_OFF:
2632 if (rt5670->pdata.jd_mode) 2632 if (rt5670->pdata.jd_mode)