projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b57125
)
rt5631 phone: standby enable micbias
author
邱建斌
<qjb@rock-chips.com>
Tue, 18 Dec 2012 09:01:24 +0000
(17:01 +0800)
committer
邱建斌
<qjb@rock-chips.com>
Tue, 18 Dec 2012 09:01:24 +0000
(17:01 +0800)
sound/soc/codecs/rt5631_phone.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5631_phone.c
b/sound/soc/codecs/rt5631_phone.c
index 814e48bebb20c4a53392d99b1fb7447d26b82803..6409a170ea6b70075d1ccd75b1fd33ef64e24036 100755
(executable)
--- a/
sound/soc/codecs/rt5631_phone.c
+++ b/
sound/soc/codecs/rt5631_phone.c
@@
-2107,6
+2107,11
@@
static int rt5631_set_bias_level(struct snd_soc_codec *codec,
snd_soc_update_bits(codec, RT5631_PWR_MANAG_ADD3,
RT5631_PWR_FAST_VREF_CTRL,
RT5631_PWR_FAST_VREF_CTRL);
+ msleep(100);
+ snd_soc_update_bits(codec, RT5631_PWR_MANAG_ADD2,
+ RT5631_PWR_MICBIAS1_VOL | RT5631_PWR_MICBIAS2_VOL,
+ RT5631_PWR_MICBIAS1_VOL | RT5631_PWR_MICBIAS2_VOL);
+
codec->cache_only = false;
codec->cache_sync = 1;
snd_soc_cache_sync(codec);