summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaveen Kumar S <nkumars@nvidia.com>2013-06-28 19:33:22 +0530
committerWinnie Hsu <whsu@nvidia.com>2013-07-02 11:29:06 -0700
commit28ca21e9e9d59a4043256f60d7358ffa3391536f (patch)
tree2b4fad5554a0c9b9c2b0c57098b5cf874737b23f
parenta6b6923d88441ef460308945faee62b3192d62ef (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 (cherry picked from commit 2dda2db4db3fca12301cab3b9c59fba758573652) Reviewed-on: http://git-master/r/244125 Reviewed-by: Kiran Adduri <kadduri@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
-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