aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/power
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2015-03-09 12:26:45 +0000
committerMark Brown <broonie@kernel.org>2015-03-09 12:27:09 +0000
commitdb295c89378fa7c9cfffd1ed08b9c77d2d1dd9ea (patch)
tree84ec2678e2a5a5bad177ca45f8ef58d1182e4e18 /drivers/base/power
parentd255fcab2b5fd066d1ee153a9ae0eb66c124246c (diff)
cpufreq: Revert "cpufreq: suspend governors on system suspend/hibernate"v3.10/topic/cpufreq
This reverts commit adb665056afe23db0687c1d1a208806c108add08. The commit has too many hidden dependencies to be sensibly backported. Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/base/power')
-rw-r--r--drivers/base/power/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
index 220ec3a3ca75..5a9b6569dd74 100644
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -28,8 +28,6 @@
#include <linux/sched.h>
#include <linux/async.h>
#include <linux/suspend.h>
-#include <trace/events/power.h>
-#include <linux/cpufreq.h>
#include <linux/cpuidle.h>
#include "../base.h"
#include "power.h"
@@ -715,8 +713,6 @@ void dpm_resume(pm_message_t state)
mutex_unlock(&dpm_list_mtx);
async_synchronize_full();
dpm_show_time(starttime, state, NULL);
-
- cpufreq_resume();
}
/**
@@ -1181,8 +1177,6 @@ int dpm_suspend(pm_message_t state)
might_sleep();
- cpufreq_suspend();
-
mutex_lock(&dpm_list_mtx);
pm_transition = state;
async_error = 0;