Files
kernel-tenderloin-3.0/kernel/power
Abhijeet Dharmapurikar 7ef4dbaa2a power: wakelock: don't set check_done flag if aborting
If there is a wakelock held the wakelock driver rejects the suspend
by returning EAGAIN(-11). In this case since the suspend is rejected
in suspend_noirq callback, the resume_noirq callback is not called on
the wakelock driver, leading to the check_done flag not being cleared
and causing a BUG for the next wakelock request.

Don't set the check_done flag if suspend_noirq aborts suspend.

Change-Id: Iddd12cefd9a30020784416b4e5bec7fe3f7fc0e6
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2011-10-14 09:22:49 -07:00
..
2011-03-10 08:52:27 +01:00
2011-10-03 09:57:10 -07:00
2011-06-14 09:08:42 -07:00
2011-06-14 09:08:42 -07:00
2011-10-03 09:57:10 -07:00