Files
kernel-tenderloin-3.0/kernel
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-31 11:26:23 -03:00
2011-08-04 21:58:35 -07:00
2011-03-31 11:26:23 -03:00
2011-03-14 09:15:23 -04:00
2010-10-30 01:42:19 -04:00
2011-05-19 18:51:57 +10:00
2011-10-03 09:57:10 -07:00
2011-10-03 09:57:10 -07:00
2011-05-17 23:19:17 +02:00
2011-08-10 18:07:59 -07:00
2010-10-01 10:50:58 -07:00
2011-03-31 11:26:23 -03:00
2011-05-26 17:12:34 -07:00
2011-03-31 11:26:23 -03:00
2011-08-19 11:41:00 -07:00
2011-04-18 10:35:30 -07:00
2011-10-03 09:57:10 -07:00
2011-05-24 12:10:51 +02:00
2011-05-20 12:50:29 -07:00
2011-10-03 09:57:10 -07:00
2011-03-31 11:26:23 -03:00
2011-04-24 13:18:38 +02:00
2011-10-03 09:57:10 -07:00
2011-03-23 19:46:51 -07:00
2011-10-03 09:57:10 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00