On Thu, Aug 05, 2010 at 07:22:53AM -0700, david@xxxxxxx wrote: > I'm not sure it's possible to completely eliminate the race, even with > wakelocks there is some time between the time you last check if the > wakelock is set and when the hardware finishes responding to your > commands to go to sleep (Unless you can set a level-based interrupt that > will wake you up as soon as you finish going to sleep) It's typically the case that you can - we've even seen that on x86 with ACPI GPEs. -- Matthew Garrett | mjg59@xxxxxxxxxxxxx _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm