From: 黄涛 Date: Tue, 15 Jan 2013 05:12:07 +0000 (+0800) Subject: rk30: pm: fix core periph setup when suspend X-Git-Tag: firefly_0821_release~7948 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=57298805aac6499795c99bbcc68788155d79a7aa;p=firefly-linux-kernel-4.4.55.git rk30: pm: fix core periph setup when suspend --- diff --git a/arch/arm/mach-rk30/pm.c b/arch/arm/mach-rk30/pm.c index 218f1af8dd1a..4fde4e51c79e 100755 --- a/arch/arm/mach-rk30/pm.c +++ b/arch/arm/mach-rk30/pm.c @@ -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