summaryrefslogtreecommitdiffstats
path: root/Kbuild
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 /Kbuild
parent999f572983de5e1a4ee9f42daa51b5448f12dd64 (diff)
downloadlinux-3bbf8fe3ae0845af9192118753c2399efe531832.tar.bz2
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 'Kbuild')
0 files changed, 0 insertions, 0 deletions