diff options
author | Arve Hjønnevåg <arve@android.com> | 2008-10-15 17:52:20 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2010-09-29 17:49:07 -0700 |
commit | 8dcec0d65d01fc619b06d8bd5416619a26b75985 (patch) | |
tree | 58858659484c08c089d93b15c9a660e7df7e01ba /kernel/power/Kconfig | |
parent | a0902564d1194af02d2dfb754704b50f61acd3e1 (diff) |
PM: earlysuspend: Add console switch when user requested sleep state changes.
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Diffstat (limited to 'kernel/power/Kconfig')
-rw-r--r-- | kernel/power/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 3239cbf00ecd..3cfea1327546 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -175,6 +175,23 @@ config EARLYSUSPEND Call early suspend handlers when the user requested sleep state changes. +choice + prompt "User-space screen access" + default CONSOLE_EARLYSUSPEND + depends on HAS_EARLYSUSPEND + + config NO_USER_SPACE_SCREEN_ACCESS_CONTROL + bool "None" + + config CONSOLE_EARLYSUSPEND + bool "Console switch on early-suspend" + depends on HAS_EARLYSUSPEND && VT + ---help--- + Register early suspend handler to perform a console switch to + when user-space should stop drawing to the screen and a switch + back when it should resume. +endchoice + config HIBERNATION bool "Hibernation (aka 'suspend to disk')" depends on PM && SWAP && ARCH_HIBERNATION_POSSIBLE |