aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorKalimochoAz <calimochoazucarado@gmail.com>2012-02-11 12:38:44 +0100
committerKalimochoAz <calimochoazucarado@gmail.com>2012-02-11 12:38:44 +0100
commit5d763f2baa4ae928684b60171f26165ffa742691 (patch)
treea2fa57ce8b7371422742bff11ca4e24723f2e26b /kernel/power
parent3e0951a2a1399cf402ac783910cf272655b3f78a (diff)
parentbcac798f6c44e21a6bdb2c5f8b056b364e246a35 (diff)
downloadkernel_samsung_crespo-5d763f2baa4ae928684b60171f26165ffa742691.zip
kernel_samsung_crespo-5d763f2baa4ae928684b60171f26165ffa742691.tar.gz
kernel_samsung_crespo-5d763f2baa4ae928684b60171f26165ffa742691.tar.bz2
Merge branch 'linux-3.0.update' into cm.ics.new
Diffstat (limited to 'kernel/power')
-rw-r--r--kernel/power/suspend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c
index 63774df..61e6347 100644
--- a/kernel/power/suspend.c
+++ b/kernel/power/suspend.c
@@ -310,7 +310,7 @@ int enter_state(suspend_state_t state)
*/
int pm_suspend(suspend_state_t state)
{
- if (state > PM_SUSPEND_ON && state <= PM_SUSPEND_MAX)
+ if (state > PM_SUSPEND_ON && state < PM_SUSPEND_MAX)
return enter_state(state);
return -EINVAL;
}