]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: Mark CPU0 driver with CPUFREQ_NEED_INITIAL_FREQ_CHECK flag
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 9 Jun 2014 13:36:17 +0000 (19:06 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 9 Jun 2014 20:55:48 +0000 (22:55 +0200)
commit4ff7a55ac50ad094d517bb2b167e3e3a74f21f49
treed3f83e1154ac24c04bee7012c713bcb5916be8b1
parent7c0095657f369bc28e5a2a65d80732540e680315
cpufreq: Mark CPU0 driver with CPUFREQ_NEED_INITIAL_FREQ_CHECK flag

Sometimes boot loaders set CPU frequency to a value outside of frequency table
present with cpufreq core. In such cases CPU might be unstable if it has to run
on that frequency for long duration of time and so its better to set it to a
frequency which is specified in frequency table.

Sachin recently found this problem with cpufreq-cpu0 driver when he was testing
it for Exynos.

Set this flag for cpufreq-cpu0 driver.

Reported-and-tested-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-cpu0.c