diff options
author | Andy Green <andy.green@linaro.org> | 2011-11-18 16:02:28 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-11-19 08:55:04 +0800 |
commit | 26d57880235ff057a1e69762a934a1459c3a998d (patch) | |
tree | c73e8d68d4d8905d84a2e8d3961deebe724fde36 /arch/arm | |
parent | c431fe96c70e39e01a70d87d974bae8da26ebba6 (diff) |
debug thermal messages as err
Signed-off-by: Andy Green <andy.green@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/omap2plus-cpufreq.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/omap2plus-cpufreq.c b/arch/arm/mach-omap2/omap2plus-cpufreq.c index 96de5af9e2b..31775a31e10 100644 --- a/arch/arm/mach-omap2/omap2plus-cpufreq.c +++ b/arch/arm/mach-omap2/omap2plus-cpufreq.c @@ -194,7 +194,7 @@ void omap_thermal_throttle(void) max_thermal = omap_thermal_lower_speed(); - pr_warn("%s: temperature too high, cpu throttle at max %u\n", + pr_err("%s: temperature too high, cpu throttle at max %u\n", __func__, max_thermal); cur = omap_getspeed(0); @@ -214,13 +214,13 @@ void omap_thermal_unthrottle(void) mutex_lock(&omap_cpufreq_lock); if (max_thermal == max_freq) { - pr_warn("%s: not throttling\n", __func__); + pr_err("%s: not throttling\n", __func__); goto out; } max_thermal = max_freq; - pr_warn("%s: temperature reduced, ending cpu throttling\n", __func__); + pr_err("%s: temperature reduced, ending cpu throttling\n", __func__); cur = omap_getspeed(0); omap_cpufreq_scale(current_target_freq, cur); @@ -280,7 +280,7 @@ void omap_thermal_step_freq_down(void) max_thermal = omap_thermal_lower_speed(); - pr_warn("%s: temperature too high, starting cpu throttling at max %u\n", + pr_err("%s: temperature too high, starting cpu throttling at max %u\n", __func__, max_thermal); cur = omap_getspeed(0); @@ -297,7 +297,7 @@ void omap_thermal_step_freq_up(void) mutex_lock(&omap_cpufreq_lock); max_thermal = max_freq; - pr_warn("%s: temperature reduced, stepping up to %i\n", + pr_err("%s: temperature reduced, stepping up to %i\n", __func__, current_target_freq); cur = omap_getspeed(0); |