re-add call to cpufreq_driver->resume()
PATCH 1/1 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 Dominik Brodowski <[email protected]>
drivers/cpufreq/cpufreq.c +7 -0
@@ -893,6 +893,13 @@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 ;