From: 宋秀杰 Date: Wed, 1 Aug 2012 12:36:03 +0000 (+0800) Subject: phonepad: rt3261 fix suspend and resume i2c error X-Git-Tag: firefly_0821_release~8934 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=af9a995342eeb5f3dc6bc09b38bc4237f6574ea6;p=firefly-linux-kernel-4.4.55.git phonepad: rt3261 fix suspend and resume i2c error --- diff --git a/sound/soc/codecs/rt3261.c b/sound/soc/codecs/rt3261.c index dc3a678e0372..c49b3334f6c2 100644 --- a/sound/soc/codecs/rt3261.c +++ b/sound/soc/codecs/rt3261.c @@ -2850,7 +2850,7 @@ static int rt3261_suspend(struct snd_soc_codec *codec, pm_message_t state) * (3) DSP IIS interface power off * (4) Toggle pin of codec LDO1 to power off */ - rt3261_dsp_suspend(codec, state); + //rt3261_dsp_suspend(codec, state); #endif rt3261_set_bias_level(codec, SND_SOC_BIAS_OFF); return 0; @@ -2861,7 +2861,7 @@ static int rt3261_resume(struct snd_soc_codec *codec) rt3261_set_bias_level(codec, SND_SOC_BIAS_STANDBY); #if (CONFIG_SND_SOC_RT3261_MODULE | CONFIG_SND_SOC_RT3261) /* After opening LDO of codec, then close LDO of DSP. */ - rt3261_dsp_resume(codec); + //rt3261_dsp_resume(codec); #endif return 0; }