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:
3f31e57
)
dvfs: rockchip: fix min_temp_limit
author
Xiao Feng
<xf@rock-chips.com>
Thu, 25 Jun 2015 12:05:35 +0000
(20:05 +0800)
committer
Xiao Feng
<xf@rock-chips.com>
Thu, 25 Jun 2015 12:50:07 +0000
(20:50 +0800)
Signed-off-by: Xiao Feng <xf@rock-chips.com>
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 d9d060dd011ebed92daff7158f2aef084af3e507..6f65f9f4e6f51e51ec01d3b5a699e33809853913 100644
(file)
--- a/
arch/arm/mach-rockchip/dvfs.c
+++ b/
arch/arm/mach-rockchip/dvfs.c
@@
-2111,6
+2111,7
@@
static int dvfs_node_parse_dt(struct device_node *np,
if (dvfs_node->temp_limit_enable) {
of_property_read_u32_index(np, "min_temp_limit",
0, &dvfs_node->min_temp_limit);
+ dvfs_node->min_temp_limit *= 1000;
of_property_read_u32_index(np, "target-temp",
0, &dvfs_node->target_temp);
pr_info("target-temp:%d\n", dvfs_node->target_temp);