projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02c5c03
)
ASoC: rt5645: set high voltage for capless power
author
Bard Liao
<bardliao@realtek.com>
Tue, 27 Dec 2016 04:05:06 +0000
(12:05 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 9 Jan 2017 11:57:43 +0000
(11:57 +0000)
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>
sound/soc/codecs/rt5645.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt5645.c
b/sound/soc/codecs/rt5645.c
index 1ac96ef9ee2077dc70ba940f939e8162ce1dec26..37fb2b6c34a5f9fcb69a1dafbadf6b71a12075bd 100644
(file)
--- 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)
unsigned int val;
if (jack_insert) {
- regmap_write(rt5645->regmap, RT5645_CHARGE_PUMP, 0x0
0
06);
+ regmap_write(rt5645->regmap, RT5645_CHARGE_PUMP, 0x0
e
06);
/* for jack type detect */
snd_soc_dapm_force_enable_pin(dapm, "LDO2");