aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c64xx/cpufreq.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-11-03 09:42:07 -0500
committerBen Dooks <ben-linux@fluff.org>2009-11-30 20:35:38 -0500
commit383af9c2586e0c51e27ed4f186a2f23f8e889054 (patch)
tree3d4e5ebfd2d8be3f887150c50d8723d1e032cf23 /arch/arm/plat-s3c64xx/cpufreq.c
parent42015c133b74f2f483798d58683ac17b587f7bbb (diff)
ARM: S3C64XX: Provide logging when CPU frequencies are eliminated due to clocks
This provides symmetry with the voltage based checks done for the regulator. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c64xx/cpufreq.c')
-rw-r--r--arch/arm/plat-s3c64xx/cpufreq.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c64xx/cpufreq.c b/arch/arm/plat-s3c64xx/cpufreq.c
index e6e0843215df..bdc3c96971f5 100644
--- 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)
217 /* Check for frequencies we can generate */ 217 /* Check for frequencies we can generate */
218 r = clk_round_rate(armclk, freq->frequency * 1000); 218 r = clk_round_rate(armclk, freq->frequency * 1000);
219 r /= 1000; 219 r /= 1000;
220 if (r != freq->frequency) 220 if (r != freq->frequency) {
221 pr_debug("cpufreq: %dkHz unsupported by clock\n",
222 freq->frequency);
221 freq->frequency = CPUFREQ_ENTRY_INVALID; 223 freq->frequency = CPUFREQ_ENTRY_INVALID;
224 }
222 225
223 /* If we have no regulator then assume startup 226 /* If we have no regulator then assume startup
224 * frequency is the maximum we can support. */ 227 * frequency is the maximum we can support. */