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)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 23 Jul 2012 08:38:22 +0000 (13:38 +0530)
commit27f5e03fc4c5fc5078d1bcab46fd1527fad728b6
treeb407b62c73721364c4a3ad03d65b615055580a31
parentf08c09923854c6c1946aa974930a367751d565cc
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