aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-21 15:47:48 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-22 23:13:36 +0100
commit3bbf8fe3ae0845af9192118753c2399efe531832 (patch)
treee35adff645878fdc538139b32ca4f687db76c935 /Documentation
parentcpufreq: Introduce cpufreq_update_current_freq() (diff)
downloadlinux-dev-3bbf8fe3ae0845af9192118753c2399efe531832.tar.xz
linux-dev-3bbf8fe3ae0845af9192118753c2399efe531832.zip
cpufreq: Always update current frequency before startig governor
Make policy->cur match the current frequency returned by the driver's ->get() callback before starting the governor in case they went out of sync in the meantime and drop the piece of code attempting to resync policy->cur with the real frequency of the boot CPU from cpufreq_resume() as it serves no purpose any more (and it's racy and super-ugly anyway). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions