Commit 50fd3c51 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] re-add call to cpufreq_driver->resume()

(if anyone has a brown spare paper bag, feel free to send it to me:)

The call to cpufreq_driver->resume() got lost in 2.6.6. Re-add it at the
proper place.
Signed-off-by: default avatarDominik Brodowski <linux@brodo.de>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 59d2ff8c
......@@ -893,6 +893,13 @@ static int cpufreq_resume(struct sys_device * sysdev)
return 0;
}
if (cpufreq_driver->resume) {
ret = cpufreq_driver->resume(cpu_policy);
printk(KERN_ERR "cpufreq: resume failed in ->resume step on CPU %u\n", cpu_policy->cpu);
cpufreq_cpu_put(cpu_policy);
return (ret);
}
if (!(cpufreq_driver->flags & CPUFREQ_CONST_LOOPS)) {
unsigned int cur_freq = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment