projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42015c1
)
ARM: S3C64XX: Provide logging when CPU frequencies are eliminated due to clocks
author
Mark Brown
<
[email protected]
>
Tue, 3 Nov 2009 14:42:07 +0000
(14:42 +0000)
committer
Ben Dooks
<
[email protected]
>
Tue, 1 Dec 2009 01:35:38 +0000
(
01:35
+0000)
This provides symmetry with the voltage based checks done for the
regulator.
Signed-off-by: Mark Brown <
[email protected]
>
Signed-off-by: Ben Dooks <
[email protected]
>
arch/arm/plat-s3c64xx/cpufreq.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-s3c64xx/cpufreq.c
b/arch/arm/plat-s3c64xx/cpufreq.c
index e6e0843215dfff94748b3e1054d5d3b7e66dab28..bdc3c96971f5a7420b23dc35b4f96cb7748418e0 100644
(file)
--- a/
arch/arm/plat-s3c64xx/cpufreq.c
+++ b/
arch/arm/plat-s3c64xx/cpufreq.c
@@
-217,8
+217,11
@@
static int __init s3c64xx_cpufreq_driver_init(struct cpufreq_policy *policy)
/* Check for frequencies we can generate */
r = clk_round_rate(armclk, freq->frequency * 1000);
r /= 1000;
- if (r != freq->frequency)
+ if (r != freq->frequency) {
+ pr_debug("cpufreq: %dkHz unsupported by clock\n",
+ freq->frequency);
freq->frequency = CPUFREQ_ENTRY_INVALID;
+ }
/* If we have no regulator then assume startup
* frequency is the maximum we can support. */