On Friday, 4 May 2007 23:23, Johannes Berg wrote: > On Fri, 2007-05-04 at 23:11 +0200, Rafael J. Wysocki wrote: > > > Actually, prethaw is to prevent drivers loaded before the image is restored > > from doing unreasonable things. It doesn't have any effect on the drivers' > > .resume() routines. > > Oh, but it can, you could have a flag in your driver saying "the next > resume is after restore" and you set that flag in prethaw. No, you should have set that flag in .suspend(), really. :-) Greetings, Rafael _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm