Re: [PATCH] swsusp: allow drivers to determine between write-resume and actual wakeup

Tejun Heo
2006-06-05T12:43:51Z

Tejun Heo wrote:
> Pavel Machek wrote:
>> If you want to know if you RESUME was after normal FREEZE or if it is
>> after reboot, there's better patch floating around to do that.
>
> Yeap, this is what I'm interested in. Care to give me a pointer?

And, one more things. As written in the first mail, for libata, it
would be nice to know if a device suspend is due to runtime PM event
(per-device) or system wide suspend. What do you think about this? If
you agree, what method do you recommend to determine that?

Thanks a lot.

--
tejun