summaryrefslogtreecommitdiff
path: root/kernel/power/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/Kconfig')
-rw-r--r--kernel/power/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 5109dc2d4610..9d3dac186fd9 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -137,6 +137,9 @@ config SUSPEND_FREEZER
config HAS_WAKELOCK
bool
+config HAS_EARLYSUSPEND
+ bool
+
config WAKELOCK
bool "Wake lock"
depends on PM && RTC_CLASS
@@ -153,6 +156,15 @@ config WAKELOCK_STAT
---help---
Report wake lock stats in /proc/wakelocks
+config EARLYSUSPEND
+ bool "Early suspend"
+ depends on WAKELOCK
+ default y
+ select HAS_EARLYSUSPEND
+ ---help---
+ Call early suspend handlers when the user requested sleep state
+ changes.
+
config HIBERNATION
bool "Hibernation (aka 'suspend to disk')"
depends on PM && SWAP && ARCH_HIBERNATION_POSSIBLE