dvfs: rockchip: fix min_temp_limit
authorXiao Feng <xf@rock-chips.com>
Thu, 25 Jun 2015 12:05:35 +0000 (20:05 +0800)
committerXiao 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

index d9d060dd011ebed92daff7158f2aef084af3e507..6f65f9f4e6f51e51ec01d3b5a699e33809853913 100644 (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);