diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cpufreq/cpufreq_ondemand.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c index 69aa1db8336c..6430489db6f4 100644 --- a/drivers/cpufreq/cpufreq_ondemand.c +++ b/drivers/cpufreq/cpufreq_ondemand.c | |||
@@ -395,8 +395,11 @@ static int cpufreq_governor_dbs(struct cpufreq_policy *policy, | |||
395 | return -EINVAL; | 395 | return -EINVAL; |
396 | 396 | ||
397 | if (policy->cpuinfo.transition_latency > | 397 | if (policy->cpuinfo.transition_latency > |
398 | (TRANSITION_LATENCY_LIMIT * 1000)) | 398 | (TRANSITION_LATENCY_LIMIT * 1000)) { |
399 | printk(KERN_WARNING "ondemand governor failed to load " | ||
400 | "due to too long transition latency\n"); | ||
399 | return -EINVAL; | 401 | return -EINVAL; |
402 | } | ||
400 | if (this_dbs_info->enable) /* Already enabled */ | 403 | if (this_dbs_info->enable) /* Already enabled */ |
401 | break; | 404 | break; |
402 | 405 | ||