X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fcpufreq%2Flongrun.c;h=074971b12635af04b7214f510c70e7e8c37ebcbf;hb=b393b9da446626170a39bcd79c52e8ebadb19c8c;hp=5aa031612d5393ff08d196f83b8701ac8c8f5e12;hpb=fc582aef7dcc27a7120cf232c1e76c569c7b6eab;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/cpufreq/longrun.c b/drivers/cpufreq/longrun.c index 5aa031612d53..074971b12635 100644 --- a/drivers/cpufreq/longrun.c +++ b/drivers/cpufreq/longrun.c @@ -129,9 +129,7 @@ static int longrun_verify_policy(struct cpufreq_policy *policy) return -EINVAL; policy->cpu = 0; - cpufreq_verify_within_limits(policy, - policy->cpuinfo.min_freq, - policy->cpuinfo.max_freq); + cpufreq_verify_within_cpu_limits(policy); if ((policy->policy != CPUFREQ_POLICY_POWERSAVE) && (policy->policy != CPUFREQ_POLICY_PERFORMANCE))