Skip to content

Commit

Permalink
cpufreq: change debug message level to show clock change error
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
  • Loading branch information
Steven Miao authored and Bob Liu committed Jul 24, 2012
1 parent 928a8e6 commit 9792900
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion arch/blackfin/mach-bf609/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion arch/blackfin/mach-common/cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9792900

Please sign in to comment.