Home
last modified time | relevance | path

Searched hist:da60ce9f2faca87013fd3cab1c3bed5183608c3d (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/cpufreq/
H A Dcpufreq.cdiff da60ce9f2faca87013fd3cab1c3bed5183608c3d Thu Oct 03 09:58:30 CDT 2013 Viresh Kumar <viresh.kumar@linaro.org> cpufreq: call cpufreq_driver->get() after calling ->init()

Almost all drivers set policy->cur with current CPU frequency in their ->init()
part. This can be done for all of them at core level and so they wouldn't need
to do it.

This patch adds supporting code in cpufreq core for calling get() after we have
called init() for a policy.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>