projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1c56a8
)
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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/pm.c
b/arch/arm/mach-rk30/pm.c
index 218f1af8dd1a6700e4f12905184f59ba0f85b444..4fde4e51c79e16f6b75ae528c62bc19afc252f1b 100755
(executable)
--- 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