PM: Need to wake_up_all when suspend fail
authorBH Hsieh <bhsieh@nvidia.com>
Mon, 13 Aug 2012 07:33:07 +0000 (15:33 +0800)
committerSimone Willett <swillett@nvidia.com>
Tue, 21 Aug 2012 00:06:18 +0000 (17:06 -0700)
commit5aa71345ae7028eacb69973fdedabd78fe21ba11
tree7fc2227a41fb3b83efbd10ae8634deaba17f5767
parent7900270d2d4ecf6c28e5ff8da348c8fb2a915f79
PM: Need to wake_up_all when suspend fail

In rpm_suspend, when suspend fail,
before going to reschedule another autosuspend,
wake_up_all is required to avoid remote wakeup
issues.

Bug 1026169
Bug 1027598
Bug 1032565

Change-Id: Ieaf9282dae59b2cb343bf01aa2ba837a8cdc39c7
Signed-off-by: BH Hsieh <bhsieh@nvidia.com>
Reviewed-on: http://git-master/r/122978
(cherry picked from commit 856f955552e8dbdf3b4a25c3eb648bcd5193cacf)
Reviewed-on: http://git-master/r/124535
Reviewed-by: Neil Patel <neilp@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Neil Patel <neilp@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>
drivers/base/power/runtime.c