commit | da60ce9f2faca87013fd3cab1c3bed5183608c3d | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Thu Oct 03 20:28:30 2013 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Oct 16 00:50:28 2013 +0200 |
tree | 5cccf8d9f72756628cfc3b8e54764bb118da5cee | |
parent | 8e08cf03a46299bc1ebf9dbd2ebe7d3093f89541 [diff] |
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>