mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
rk30xx: add lpj_gpll init to prevent dma halt and sdio error
This commit is contained in:
@@ -3298,6 +3298,8 @@ static void __init rk30_clock_common_init(unsigned long gpll_rate, unsigned long
|
||||
|
||||
//general
|
||||
clk_set_rate_nolock(&general_pll_clk, gpll_rate);
|
||||
lpj_gpll = CLK_LOOPS_RECALC(general_pll_clk.rate);
|
||||
|
||||
//code pll
|
||||
clk_set_rate_nolock(&codec_pll_clk, cpll_rate);
|
||||
|
||||
|
||||
@@ -3342,6 +3342,8 @@ static void __init rk30_clock_common_init(unsigned long gpll_rate,unsigned long
|
||||
clk_set_rate_nolock(&general_pll_clk, 297 * MHZ);
|
||||
#endif
|
||||
clk_set_rate_nolock(&general_pll_clk, gpll_rate);
|
||||
lpj_gpll = CLK_LOOPS_RECALC(general_pll_clk.rate);
|
||||
|
||||
//code pll
|
||||
clk_set_rate_nolock(&codec_pll_clk, cpll_rate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user