PM / Sleep: Fix a mistake in a conditional in autosleep_store()
authorArve Hjønnevåg <arve@android.com>
Thu, 3 May 2012 22:14:21 +0000 (00:14 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sat, 5 May 2012 19:50:58 +0000 (21:50 +0200)
commit040e5bf65e1ee66266bc314c5965518a7c21ff36
treece2dce378ae0f765b6534a7cec0a5529ee09930b
parent4d7e30d98939a0340022ccd49325a3d70f7e0238
PM / Sleep: Fix a mistake in a conditional in autosleep_store()

The condition check in autosleep_store() is incorrect and prevents
/sys/power/autosleep from working as advertised.  Fix that.

[rjw: Added the changelog.]

Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
kernel/power/main.c