rk30: pm: fix core periph setup when suspend
author黄涛 <huangtao@rock-chips.com>
Tue, 15 Jan 2013 05:12:07 +0000 (13:12 +0800)
committer黄涛 <huangtao@rock-chips.com>
Tue, 15 Jan 2013 05:12:07 +0000 (13:12 +0800)
arch/arm/mach-rk30/pm.c

index 218f1af8dd1a6700e4f12905184f59ba0f85b444..4fde4e51c79e16f6b75ae528c62bc19afc252f1b 100755 (executable)
@@ -644,7 +644,7 @@ static int rk30_pm_enter(suspend_state_t state)
        clk_sel1 = cru_readl(CRU_CLKSELS_CON(1));
 
        cru_writel(PLL_MODE_SLOW(APLL_ID), CRU_MODE_CON);
-       cru_writel(CORE_PERIPH_MSK | CORE_PERIPH_2
+       cru_writel(CORE_PERIPH_W_MSK | CORE_PERIPH_2
                   | CORE_CLK_DIV_W_MSK | CORE_CLK_DIV(1)
                   | CPU_CLK_DIV_W_MSK | CPU_CLK_DIV(1)
                   | CORE_SEL_PLL_W_MSK | CORE_SEL_APLL