Messages in this thread | | | Subject | Re: [PATCH 1/3] PM: Introduce new top level suspend and hibernation callbacks (rev. 8) | From | Benjamin Herrenschmidt <> | Date | Mon, 14 Apr 2008 09:49:08 +1000 |
| |
On Mon, 2008-04-14 at 01:33 +0200, Rafael J. Wysocki wrote: > > Plus in my opinion, while with ->prepare() after the freezer it's > possible > to write ->prepare() and ->suspend() that will work just fine when we > remove > the freezer, with ->prepare() before the freezer it would be hard to > do that, > unless ->prepare() was trivial.
And removing a good half of the usage scenario where prepare is useful..
Ben.
| |