From c8e04e62d5f4b57308ff463f993e91eee45ee7f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Thu, 5 Apr 2012 20:44:37 +0800 Subject: [PATCH] rk30: clock: enable preset_lpj --- arch/arm/mach-rk30/clock_data.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-rk30/clock_data.c b/arch/arm/mach-rk30/clock_data.c index 4a4150eb436d..ac076f100159 100755 --- a/arch/arm/mach-rk30/clock_data.c +++ b/arch/arm/mach-rk30/clock_data.c @@ -29,8 +29,8 @@ #define MHZ (1000*1000) #define KHZ (1000) -#define CLK_LOOPS_JIFFY_REF 10035200ULL -#define CLK_LOOPS_RARE_REF (1008) //Mhz +#define CLK_LOOPS_JIFFY_REF 11996091ULL +#define CLK_LOOPS_RARE_REF (1200) //Mhz #define CLK_LOOPS_RECALC(new_rate) div_u64(CLK_LOOPS_JIFFY_REF*(new_rate),CLK_LOOPS_RARE_REF) struct apll_clk_set { @@ -2937,7 +2937,7 @@ void __init _rk30_clock_data_init(unsigned long gpll,unsigned long cpll,unsigned */ //clk_disable_unused(); rk30_clock_common_init(gpll,cpll,max_i2s_rate); - //preset_lpj = loops_per_jiffy; + preset_lpj = loops_per_jiffy; //gpio6_b7 //regfile_writel(0xc0004000,0x10c); -- 2.34.1