From c5fcbb2446f4f336388828302cc5763972cf3ad5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=AE=8B=E7=A7=80=E6=9D=B0?= Date: Wed, 21 Nov 2012 17:56:56 +0800 Subject: [PATCH] phonepad: rt3261 open micbias when resume, it solve auto open voice search error. --- sound/soc/codecs/rt3261.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.34.1