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:
c6f99f9
)
move clk_set_rate out of irq disabled
author
yangkai
<yangkai@ubuntu-fs>
Thu, 21 Jul 2011 11:56:02 +0000
(19:56 +0800)
committer
yangkai
<yangkai@ubuntu-fs>
Thu, 21 Jul 2011 11:56:02 +0000
(19:56 +0800)
arch/arm/mach-rk29/ddr.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk29/ddr.c
b/arch/arm/mach-rk29/ddr.c
index 6c7f1d47015e4335827e8373095db9b9d0a81d71..3bd26953b9686900e8b6b44fb0894101562b74a9 100755
(executable)
--- a/
arch/arm/mach-rk29/ddr.c
+++ b/
arch/arm/mach-rk29/ddr.c
@@
-1226,9
+1226,9
@@
uint32_t __sramfunc ddr_change_freq(uint32_t nMHz)
/** 5. Issues a Mode Exit command */
ddr_selfrefresh_exit();
dsb();
- clk_set_rate(clk_get(NULL, "ddr_pll"), 0);
DDR_RESTORE_SP(save_sp);
local_irq_restore(flags);
+ clk_set_rate(clk_get(NULL, "ddr_pll"), 0);
return ret;
}
EXPORT_SYMBOL(ddr_change_freq);