mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
rk30sdk:fix ddr_set_auto_self_refresh() parameter error in ddr_freq.c
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user