summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/acpi-cpufreq.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2013-10-03 16:58:30 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-16 00:50:28 +0200
commitda60ce9f2faca87013fd3cab1c3bed5183608c3d (patch)
tree5cccf8d9f72756628cfc3b8e54764bb118da5cee /drivers/cpufreq/acpi-cpufreq.c
parentcpufreq: tegra: Use generic cpufreq routines (diff)
downloadlinux-da60ce9f2faca87013fd3cab1c3bed5183608c3d.tar.xz
linux-da60ce9f2faca87013fd3cab1c3bed5183608c3d.zip
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>
Diffstat (limited to 'drivers/cpufreq/acpi-cpufreq.c')
0 files changed, 0 insertions, 0 deletions