From: 宋秀杰 Date: Thu, 16 Sep 2010 08:33:42 +0000 (-0700) Subject: add delay after pll change in pm.c, fix sdk can not be resume X-Git-Tag: firefly_0821_release~11135 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5a8c294436e4958e2ccfe75fec63088d48c0a6cc;p=firefly-linux-kernel-4.4.55.git add delay after pll change in pm.c, fix sdk can not be resume --- diff --git a/arch/arm/mach-rk2818/pm.c b/arch/arm/mach-rk2818/pm.c index a1612fac7cff..1a39de4f905a 100755 --- a/arch/arm/mach-rk2818/pm.c +++ b/arch/arm/mach-rk2818/pm.c @@ -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) {