diff options
Diffstat (limited to 'kernel/power/suspend_test.c')
| -rw-r--r-- | kernel/power/suspend_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/power/suspend_test.c b/kernel/power/suspend_test.c index 5db217051232..6a897e8b2a88 100644 --- a/kernel/power/suspend_test.c +++ b/kernel/power/suspend_test.c | |||
| @@ -104,9 +104,9 @@ repeat: | |||
| 104 | printk(info_test, pm_states[state]); | 104 | printk(info_test, pm_states[state]); |
| 105 | status = pm_suspend(state); | 105 | status = pm_suspend(state); |
| 106 | if (status < 0) | 106 | if (status < 0) |
| 107 | state = PM_SUSPEND_FREEZE; | 107 | state = PM_SUSPEND_TO_IDLE; |
| 108 | } | 108 | } |
| 109 | if (state == PM_SUSPEND_FREEZE) { | 109 | if (state == PM_SUSPEND_TO_IDLE) { |
| 110 | printk(info_test, pm_states[state]); | 110 | printk(info_test, pm_states[state]); |
| 111 | status = pm_suspend(state); | 111 | status = pm_suspend(state); |
| 112 | } | 112 | } |
