ARM: S3C64XX: Provide logging when CPU frequencies are eliminated due to clocks
[deliverable/linux.git] / arch / arm / plat-s3c64xx / cpufreq.c
index e6e0843215dfff94748b3e1054d5d3b7e66dab28..bdc3c96971f5a7420b23dc35b4f96cb7748418e0 100644 (file)
@@ -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. */
This page took 0.034857 seconds and 5 git commands to generate.