edit div_clk_for_pll_int
authorxxx <xxx@rock-chips.com>
Mon, 6 May 2013 09:45:58 +0000 (17:45 +0800)
committerxxx <xxx@rock-chips.com>
Mon, 6 May 2013 09:45:58 +0000 (17:45 +0800)
arch/arm/mach-rk3188/clock_data.c

index eaddf609636424b1edb7cd35f4ca6d0152afd5ea..5a43df76eb6884ed72321db4a7c7e083382027f2 100755 (executable)
@@ -3424,7 +3424,6 @@ static int pll_get_flag(void)
 
 static void __init rk30_clock_common_init(unsigned long gpll_rate, unsigned long cpll_rate)
 {
-       div_clk_for_pll_init();
        //general
        clk_set_rate_nolock(&general_pll_clk, gpll_rate);
        //code pll
@@ -3534,6 +3533,8 @@ void __init _rk30_clock_data_init(unsigned long gpll, unsigned long cpll, int fl
 #endif
                clk_register(lk->clk);
        }
+       
+       div_clk_for_pll_init();
        clk_recalculate_root_clocks_nolock();
 
        loops_per_jiffy = CLK_LOOPS_RECALC(arm_pll_clk.rate);