From: 宋秀杰 Date: Wed, 21 Nov 2012 09:56:56 +0000 (+0800) Subject: phonepad: rt3261 open micbias when resume, it solve auto open voice search error. X-Git-Tag: firefly_0821_release~8191 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c5fcbb2446f4f336388828302cc5763972cf3ad5;p=firefly-linux-kernel-4.4.55.git phonepad: rt3261 open micbias when resume, it solve auto open voice search error. --- diff --git a/sound/soc/codecs/rt3261.c b/sound/soc/codecs/rt3261.c index 794c015939b5..abc1b6506872 100755 --- a/sound/soc/codecs/rt3261.c +++ b/sound/soc/codecs/rt3261.c @@ -3138,6 +3138,9 @@ static int rt3261_set_bias_level(struct snd_soc_codec *codec, RT3261_PWR_FV1 | RT3261_PWR_FV2, RT3261_PWR_FV1 | RT3261_PWR_FV2); snd_soc_write(codec, RT3261_GEN_CTRL1, 0x3701); + snd_soc_update_bits(codec, RT3261_PWR_ANLG2, + RT3261_PWR_MB1 | RT3261_PWR_MB2, + RT3261_PWR_MB1 | RT3261_PWR_MB2); codec->cache_only = false; codec->cache_sync = 1; snd_soc_cache_sync(codec);