phonepad: rt3261 fix suspend and resume i2c error
author宋秀杰 <sxj@rock-chips.com>
Wed, 1 Aug 2012 12:36:03 +0000 (20:36 +0800)
committer宋秀杰 <sxj@rock-chips.com>
Wed, 1 Aug 2012 12:36:03 +0000 (20:36 +0800)
sound/soc/codecs/rt3261.c

index dc3a678e03720ce3e9575eaef822cb7ee8da599d..c49b3334f6c2c117b9ec9340d801684314d4a18f 100644 (file)
@@ -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;
 }