rk30sdk:fix ddr_set_auto_self_refresh() parameter error in ddr_freq.c
authorcym <cym@rock-chips.com>
Fri, 8 Jun 2012 09:11:52 +0000 (17:11 +0800)
committercym <cym@rock-chips.com>
Fri, 8 Jun 2012 09:11:52 +0000 (17:11 +0800)
arch/arm/mach-rk30/ddr_freq.c

index 0252ea95da4609513a7762d8d1012e7ae17386e8..c0a40c12790c6bd6c7731f30d2548b0bd182187a 100755 (executable)
@@ -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)