Messages in this thread | | | Date | Thu, 23 Jul 2009 11:21:10 +0200 | Subject | Re: [PATCH] acerhdf: convert to dev_pm_ops | From | Borislav Petkov <> |
| |
On Thu, Jul 23, 2009 at 10:52 AM, Peter Feuerer<peter@piie.net> wrote: > Hi Dmitry, > > Dmitry Torokhov writes: > >> On Wed, Jul 15, 2009 at 08:36:43PM +0200, Peter Feuerer wrote: >>> >>> Works fine here, thanks! >>> >>> Acked-by: Peter Feuerer <peter@piie.net> >> >> Umm, did you test suspend-to-disk? As far as I understand the new >> suspend() and resume() methods are onluy used for S2R and for S2D you need >> to use freeze() and thaw(). > > No, I didn't test S2D, will have a look at this issue. Thanks for pointing > out!
Dmitry's right, suspend() and resume() are used only for S2R. Since the only thing we do when suspending/hibernating is set fan speed to auto, we might just as well replicate those functions to .freeze() and .thaw().
/me testing...
-- Regards/Gruss, Boris
| |