diff options
Diffstat (limited to 'arch/arm/plat-s3c64xx/cpufreq.c')
-rw-r--r-- | arch/arm/plat-s3c64xx/cpufreq.c | 5 |
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. */ |