aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2016-12-26 23:05:06 -0500
committerMark Brown <broonie@kernel.org>2017-01-09 06:57:43 -0500
commitda369d0ab58cb21371f84a144084a16df7800783 (patch)
tree068dc41356ffa8ba49b6cfaef6cc48124e7e7171
parent02c5c03283c52157d336abf5e44ffcda10579fbf (diff)
ASoC: rt5645: set high voltage for capless power
The default capless power mode is low voltage mode. We should set it to high voltage mode to get fair headphone performance. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-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 1ac96ef9ee20..37fb2b6c34a5 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -3109,7 +3109,7 @@ static int rt5645_jack_detect(struct snd_soc_codec *codec, int jack_insert)
3109 unsigned int val; 3109 unsigned int val;
3110 3110
3111 if (jack_insert) { 3111 if (jack_insert) {
3112 regmap_write(rt5645->regmap, RT5645_CHARGE_PUMP, 0x0006); 3112 regmap_write(rt5645->regmap, RT5645_CHARGE_PUMP, 0x0e06);
3113 3113
3114 /* for jack type detect */ 3114 /* for jack type detect */
3115 snd_soc_dapm_force_enable_pin(dapm, "LDO2"); 3115 snd_soc_dapm_force_enable_pin(dapm, "LDO2");