Re: [RFC][PATCH 1/2] PM / Sleep: Introduce "late suspend" and "earlyresume" of devices

From: Mark Brown
Date: Mon Dec 26 2011 - 14:15:01 EST


On Fri, Dec 23, 2011 at 12:30:17AM +0100, Rafael J. Wysocki wrote:

> For the above reasons, introduce new device suspend/resume phases,
> "late suspend" and "early resume" (and analogously for hibernation)
> whose callback will be executed with runtime PM disabled and with
> device interrupts enabled and whose callback pointers generally may
> point to runtime suspend/resume routines.

I can't claim to have gone through the code with a fine toothcomb but
from an interface point of view this is really clear and helpful,
should be very useful:

Reviewed-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
--
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/