]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: resume drivers before enabling governors
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 24 Mar 2014 07:00:29 +0000 (12:30 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 Mar 2014 15:37:18 +0000 (16:37 +0100)
commitc9d0374599f7b49222994fb037c3e4319c89f247
treedb7b06fdeb9b72aeb606cc0b88f729c5a432b094
parent8403afbaf444253a6c114a6b0bea83223c19705a
cpufreq: resume drivers before enabling governors

During suspend, we first stop governors and then suspend cpufreq drivers and
resume must be exactly opposite of that. i.e. resume drivers first and then
start governors.

But the current code in resume enables governors first and then resume drivers.
Fix it be changing code sequence there.

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