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:
2604d38
)
dvfs: avoid round a rate two times since it may cause round wrong value at second...
author
陈亮
<cl@rock-chips.com>
Mon, 26 May 2014 02:36:50 +0000
(19:36 -0700)
committer
陈亮
<cl@rock-chips.com>
Mon, 26 May 2014 02:36:50 +0000
(19:36 -0700)
arch/arm/mach-rockchip/dvfs.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/dvfs.c
b/arch/arm/mach-rockchip/dvfs.c
index e2922a141d2143f9560a296905265a3866124b1b..3919faf0f97369649d00510b1959e00ef9e64d8c 100644
(file)
--- a/
arch/arm/mach-rockchip/dvfs.c
+++ b/
arch/arm/mach-rockchip/dvfs.c
@@
-895,9
+895,9
@@
static int dvfs_target(struct dvfs_node *clk_dvfs_node, unsigned long rate)
/* scale rate */
if (clk_dvfs_node->clk_dvfs_target) {
- ret = clk_dvfs_node->clk_dvfs_target(clk,
new_
rate);
+ ret = clk_dvfs_node->clk_dvfs_target(clk, rate);
} else {
- ret = clk_set_rate(clk,
new_
rate);
+ ret = clk_set_rate(clk, rate);
}
if (ret) {