summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorZhang Jiejing <jiejing.zhang@freescale.com>2012-02-06 14:51:58 +0800
committerZhang Jiejing <jiejing.zhang@freescale.com>2012-02-08 13:20:23 +0800
commit1b6feda9a4216683aa12da0a33f7871ee0540540 (patch)
tree622720a11e93a73ab9e92c7552aa96f10cdcef3e /include
parentdd9eb70f8322b620eac8904740fcf63bce98b13e (diff)
ENGR00173756-1 Android: cpufreq: add cpu frquency governor save/restore function.
improve the power consumption situation for audio playback, background downloading,etc tasks. the scaling governor is set to conservative when display is turned off and the default governor is saved. The governor is restored when display is turned on. Signed-off-by: Wen Yi <wyi@nvidia.com> Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'include')
-rwxr-xr-xinclude/linux/earlysuspend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/earlysuspend.h b/include/linux/earlysuspend.h
index fd00605f0a42..cddd0b470179 100755
--- a/include/linux/earlysuspend.h
+++ b/include/linux/earlysuspend.h
@@ -34,6 +34,7 @@ enum {
EARLY_SUSPEND_LEVEL_BLANK_SCREEN = 50,
EARLY_SUSPEND_LEVEL_STOP_DRAWING = 100,
EARLY_SUSPEND_LEVEL_DISABLE_FB = 150,
+ EARLY_SUSPEND_LEVEL_POST_DISABLE_FB = 200,
};
struct early_suspend {
#ifdef CONFIG_HAS_EARLYSUSPEND