[CPUFREQ] Fix cpufreq on ARM
cpufreq doesn't appear to initialise on ARM - cpufreq_register_driver()
fails with -ENODEV.
This appears to be because we register cpus at subsys_initcall() time,
and cpufreq drivers at arch_initcall() time. We need cpufreq up and
running before any drivers are initialised since their timings depend
on the CPU clock rate.
The following patch appears to fix these problems.
From: Russell King
Signed-off-by: Dave Jones <davej@redhat.com>
Showing
Please register or sign in to comment