dvfs: rockchip: fix min_temp_limit

Signed-off-by: Xiao Feng <xf@rock-chips.com>
This commit is contained in:
Xiao Feng
2015-06-25 20:05:35 +08:00
parent 3f31e571dd
commit fca072d64b

View File

@@ -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);