提交 97929003 编写于 作者: S Steven Miao 提交者: Bob Liu

cpufreq: change debug message level to show clock change error

Signed-off-by: NSteven Miao <realmz6@gmail.com>
Signed-off-by: NBob Liu <lliubbo@gmail.com>
上级 928a8e69
...@@ -97,9 +97,10 @@ int wait_for_pll_align(void) ...@@ -97,9 +97,10 @@ int wait_for_pll_align(void)
while (i-- && (bfin_read32(CGU0_STAT) & CGU0_STAT_CLKSALGN)); while (i-- && (bfin_read32(CGU0_STAT) & CGU0_STAT_CLKSALGN));
if (bfin_read32(CGU0_STAT) & CGU0_STAT_CLKSALGN) { if (bfin_read32(CGU0_STAT) & CGU0_STAT_CLKSALGN) {
printk(KERN_DEBUG "fail to align clk\n"); printk(KERN_CRIT "fail to align clk\n");
return -1; return -1;
} }
return 0; return 0;
} }
......
...@@ -173,7 +173,7 @@ static int bfin_target(struct cpufreq_policy *poli, ...@@ -173,7 +173,7 @@ static int bfin_target(struct cpufreq_policy *poli,
#else #else
ret = cpu_set_cclk(cpu, freqs.new * 1000); ret = cpu_set_cclk(cpu, freqs.new * 1000);
if (ret != 0) { if (ret != 0) {
pr_debug("cpufreq set freq failed %d\n", ret); WARN_ONCE(ret, "cpufreq set freq failed %d\n", ret);
break; break;
} }
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册