Files
kernel-tenderloin-3.0/kernel/power
Abhijeet Dharmapurikar fa3a6d5572 power: wakelock: reset wakelock checked early
Currently we reset msm_suspend_check_done in resume_noirq and set it
in the suspend_noirq stage right after the wakelock checks are done.

An issue is discovered recently that a wakelock can be held much earlier
in the resume sequence - a tasklet was scheduled right in the arch specifc
resume path, and this tasklet was run as soon as local interrupt was
enabled (the I bit in the CPSR for arm processors).  The tasklet endedup
grabbing a wakelock thus causing a BUG.

To avoid this situation reset msm_suspend_check_done before enabling local
interrupts using the syscore ops.

Change-Id: I12766cb759134185e9727829f71893934492cc5f
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2011-10-25 20:14:44 -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