summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorNaveen Kumar S <nkumars@nvidia.com>2013-06-28 19:33:22 +0530
committerHarshada Kale <hkale@nvidia.com>2013-07-01 02:09:37 -0700
commit2dda2db4db3fca12301cab3b9c59fba758573652 (patch)
treec39346a1e872fad952427d6cc8bc0ec8a9289fde /kernel
parent556c30d7cccdcc8e6a7bf4a82a738147dd364fc9 (diff)
PM: Add prompt and help for wakelock in Kconfig
Adding bool prompt and help description for CONFIG_WAKELOCK and CONFIG_HAS_WAKELOCK options in Kconfig file to ease menuconfig operations Bug 1314808 Change-Id: I5c450ef0994a08c1bf51e8c9849bb96c69c69081 Signed-off-by: Naveen Kumar S <nkumars@nvidia.com> Reviewed-on: http://git-master/r/243459 GVS: Gerrit_Virtual_Submit Reviewed-by: Allen Martin <amartin@nvidia.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/Kconfig16
1 files changed, 14 insertions, 2 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 815da3c5cdd4..274798257276 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -19,12 +19,24 @@ config SUSPEND_FREEZER
Turning OFF this setting is NOT recommended! If in doubt, say Y.
config HAS_WAKELOCK
- bool
+ bool "Has Wakelock"
default y
+ help
+ A wake_lock prevents the system from entering suspend or
+ other low power states when active.
+ Wake_lock has options to stop the system from suspending if a
+ module holding wake_lock is active with some task.
+ If in doubt, enable CONFIG_WAKELOCK too.
config WAKELOCK
- bool
+ bool "Wakelock"
default y
+ help
+ A wake_lock prevents the system from entering suspend or
+ other low power states when active.
+ Wake_lock has options to stop the system from suspending if a
+ module holding wake_lock is active with some task.
+ If in doubt, enable CONFIG_HAS_WAKELOCK too.
config HIBERNATE_CALLBACKS
bool