From cafd358e38018bc8b5cf7d818f32305060ef5cfe Mon Sep 17 00:00:00 2001 From: cym Date: Fri, 8 Jun 2012 17:11:52 +0800 Subject: [PATCH] rk30sdk:fix ddr_set_auto_self_refresh() parameter error in ddr_freq.c --- arch/arm/mach-rk30/ddr_freq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-rk30/ddr_freq.c b/arch/arm/mach-rk30/ddr_freq.c index 0252ea95da46..c0a40c12790c 100755 --- 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) -- 2.34.1