linux-mips
[Top] [All Lists]

Re: [PATCH V2] au1xmmc: dev_pm_ops conversion

To: "Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: [PATCH V2] au1xmmc: dev_pm_ops conversion
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
Date: Sun, 26 Jul 2009 16:08:34 +0100
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>, Frans Pop <elendil@planet.nl>, Manuel Lauss <manuel.lauss@googlemail.com>, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Manuel Lauss <manuel.lauss@gmail.com>
In-reply-to: <200907252139.30674.rjw@sisk.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1248275919-3296-1-git-send-email-manuel.lauss@gmail.com> <200907252019.01266.elendil@planet.nl> <20090725191037.GE14062@dtor-d630.eng.vmware.com> <200907252139.30674.rjw@sisk.pl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-06-14)
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?

<Prev in Thread] Current Thread [Next in Thread>