]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PM / Sleep: use resume event when call dpm_resume_early
authorFeng Hong <hongfeng@marvell.com>
Wed, 19 Sep 2012 12:16:00 +0000 (14:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:50:20 +0000 (05:50 +0900)
commit05a65b235fb23759f3d0912f2967f6f2cd1a5c1d
treecca4384c19ee7493d6a56c77ca7bcb7b31f9e6ff
parent40c975a26226ae76d5d0809dc383544cdf3a11d7
PM / Sleep: use resume event when call dpm_resume_early

commit 997a031107ec962967ce36db9bc500f1fad491c1 upstream.

When dpm_suspend_noirq fail, state is PMSG_SUSPEND,
should change to PMSG_RESUME when dpm_resume_early is called

Signed-off-by: Feng Hong <hongfeng@marvell.com>
Signed-off-by: Raul Xiong <xjian@marvell.com>
Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/power/main.c