projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db27b82
)
rk3288: fix the bug when dclk_lcdc select gpll as parent
author
dkl
<dkl@rock-chips.com>
Wed, 30 Apr 2014 10:14:35 +0000
(18:14 +0800)
committer
dkl
<dkl@rock-chips.com>
Wed, 30 Apr 2014 10:17:16 +0000
(18:17 +0800)
drivers/clk/rockchip/clk-ops.c
patch
|
blob
|
history
diff --git
a/drivers/clk/rockchip/clk-ops.c
b/drivers/clk/rockchip/clk-ops.c
index 604a94f8b91673e2141df58fbe76b5e688bf4af8..d80bff0c10d8e70b9a1cb68cf4755e12fd98ab60 100644
(file)
--- a/
drivers/clk/rockchip/clk-ops.c
+++ b/
drivers/clk/rockchip/clk-ops.c
@@
-572,6
+572,7
@@
static long clk_3288_dclk_lcdc0_determine_rate(struct clk_hw *hw, unsigned long
if((rate <= (297*MHZ)) && ((297*MHZ)%rate == 0)) {
*best_parent_p = gpll;
best = rate;
+ *best_parent_rate = 297*MHZ;
} else {
*best_parent_p = cpll;
div = RK3288_LIMIT_PLL_VIO0/rate;
@@
-630,6
+631,7
@@
static long clk_3288_dclk_lcdc1_determine_rate(struct clk_hw *hw, unsigned long
if((rate <= (297*MHZ)) && ((297*MHZ)%rate == 0)) {
*best_parent_p = gpll;
best = rate;
+ *best_parent_rate = 297*MHZ;
} else {
*best_parent_p = cpll;
div = RK3288_LIMIT_PLL_VIO1/rate;