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)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 19 Sep 2012 12:16:00 +0000 (14:16 +0200)
commit997a031107ec962967ce36db9bc500f1fad491c1
treeb191d37389ad3a44784c22e05dbc037877f882b4
parentbbdc18a3fb6740619f0d037241c85dc6cd4517aa
PM / Sleep: use resume event when call dpm_resume_early

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>
Cc: stable@vger.kernel.org
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/main.c