On Friday, 4 May 2007 22:49, Johannes Berg wrote: > On Fri, 2007-05-04 at 22:50 +0200, Rafael J. Wysocki wrote: > > > To prevent this from happening, we need a separate set of hibernation callbacks > > in device drivers. > > You *can* actually do that now with prethaw and all that afaict. 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. Besides, if the drivers in question are compiled as modules and not loaded before the image is restored, prethaw doesn't have any effect on them and on their devices at all. ;-) > But all the more argument for splitting up the callbacks as discussed > previously. Yes. Greetings, Rafael _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm