Re: [linux-pm] suspend blockers & Android integration

From: Florian Mickler
Date: Mon Jun 07 2010 - 09:01:56 EST


On Sun, 6 Jun 2010 19:21:49 +0200
Vitaly Wool <vitalywool@xxxxxxxxx> wrote:

> 2010/6/6 Matthew Garrett <mjg59@xxxxxxxxxxxxx>:
>
> > Suspend blocks prevent system suspend, not any per-device suspend.
>
> Can you suspend a device which is holding a wake lock?
>
> ~Vitaly

If you look at the suspend blocker patchset, you'll see that the only
patches adding calls to "suspend_is_blocked()" are

PM: Opportunistic suspend support

and

PM: Abort task freezing if there is an active suspend blocker .

Both are in generic suspend code and don't affect runtime pm.

Cheers,
Flo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/