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:
82e3a27
)
rk30sdk:fix ddr_set_auto_self_refresh() parameter error in ddr_freq.c
author
cym
<cym@rock-chips.com>
Fri, 8 Jun 2012 09:11:52 +0000
(17:11 +0800)
committer
cym
<cym@rock-chips.com>
Fri, 8 Jun 2012 09:11:52 +0000
(17:11 +0800)
arch/arm/mach-rk30/ddr_freq.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/ddr_freq.c
b/arch/arm/mach-rk30/ddr_freq.c
index 0252ea95da4609513a7762d8d1012e7ae17386e8..c0a40c12790c6bd6c7731f30d2548b0bd182187a 100755
(executable)
--- a/
arch/arm/mach-rk30/ddr_freq.c
+++ b/
arch/arm/mach-rk30/ddr_freq.c
@@
-21,7
+21,7
@@
static void ddr_early_suspend(struct early_suspend *h)
bool cpu1_online;
//Enable auto self refresh 0x01*32 DDR clk cycle
- ddr_set_auto_self_refresh(
TRUE
);
+ ddr_set_auto_self_refresh(
true
);
cpu1_online = cpu_online(1);
if(cpu1_online)
@@
-43,7
+43,7
@@
static void ddr_early_resume(struct early_suspend *h)
bool cpu1_online;
//Disable auto self refresh
- ddr_set_auto_self_refresh(
FALSE
);
+ ddr_set_auto_self_refresh(
false
);
cpu1_online = cpu_online(1);
if(cpu1_online)