add delay after pll change in pm.c, fix sdk can not be resume
author宋秀杰 <sxj@rock-chips.com>
Thu, 16 Sep 2010 08:33:42 +0000 (01:33 -0700)
committer宋秀杰 <sxj@rock-chips.com>
Thu, 16 Sep 2010 08:33:42 +0000 (01:33 -0700)
arch/arm/mach-rk2818/pm.c

index a1612fac7cffe53f430e353af8bb0c4be4dd85cb..1a39de4f905a54be79bf116aba9ee2208389700a 100755 (executable)
@@ -574,6 +574,8 @@ static int __tcmfunc rk2818_tcm_idle(void)
 
        scu_writel(scu_apll, SCU_APLL_CON); // powerup
        scu_writel(scu_clksel0 & (~3), SCU_CLKSEL0_CON);
+       
+       tcm_udelay(2, 24);
 
        unit = 7200;  /* 24m,0.3ms , 24*300*/
        while (unit-- > 0) {