lkml.org 
[lkml]   [2009]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH V2] au1xmmc: dev_pm_ops conversion
Date
On Sunday 26 July 2009, Mark Brown wrote:
> On Sat, Jul 25, 2009 at 09:39:30PM +0200, Rafael J. Wysocki wrote:
>
> > Yes, they would. In general, you'd probably want to do something like this:
>
> > static struct dev_pm_ops au1xmmc_pmops = {
> > .resume = au1xmmc_resume,
> > .suspend = au1xmmc_suspend,
> > .freeze = au1xmmc_resume,
> > .thaw = au1xmmc_suspend,
>
> I'd have expected freeze and thaw to be the other way around here?

Sure, sorry.

.suspend() corresponds to .freeze() and .poweroff(), while .resume()
corresponds to .thaw() and .restore().

Best,
Rafael


\
 
 \ /
  Last update: 2009-07-26 21:39    [from the cache]
©2003-2011 Jasper Spaans