summaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2012-05-31 18:29:08 +0800
committerBob Liu <lliubbo@gmail.com>2012-07-24 13:39:49 +0800
commit97929003c20b0d536bf4ac177f6134adffd33e82 (patch)
treeefa87303e9ca34c13afda81e08de37e71525d870 /arch/blackfin
parent928a8e6933781ed99bb50a05e15a94cb24ab5c8d (diff)
downloadlinux-3.10-97929003c20b0d536bf4ac177f6134adffd33e82.tar.gz
linux-3.10-97929003c20b0d536bf4ac177f6134adffd33e82.tar.bz2
linux-3.10-97929003c20b0d536bf4ac177f6134adffd33e82.zip
cpufreq: change debug message level to show clock change error
Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-bf609/clock.c3
-rw-r--r--arch/blackfin/mach-common/cpufreq.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf609/clock.c b/arch/blackfin/mach-bf609/clock.c
index 7f8f529693a..437d56c8228 100644
--- a/arch/blackfin/mach-bf609/clock.c
+++ b/arch/blackfin/mach-bf609/clock.c
@@ -97,9 +97,10 @@ int wait_for_pll_align(void)
while (i-- && (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 0;
}
diff --git a/arch/blackfin/mach-common/cpufreq.c b/arch/blackfin/mach-common/cpufreq.c
index 6e87dc13f6b..aee82a1a1ba 100644
--- a/arch/blackfin/mach-common/cpufreq.c
+++ b/arch/blackfin/mach-common/cpufreq.c
@@ -173,7 +173,7 @@ static int bfin_target(struct cpufreq_policy *poli,
#else
ret = cpu_set_cclk(cpu, freqs.new * 1000);
if (ret != 0) {
- pr_debug("cpufreq set freq failed %d\n", ret);
+ WARN_ONCE(ret, "cpufreq set freq failed %d\n", ret);
break;
}
#endif