From: Nigel Cunningham <ncunningham-lkml@crca.org.au>
To: Russell King <rmk+lkml@arm.linux.org.uk>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>, Len Brown <lenb@kernel.org>,
Linux Kernel List <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
pm list <linux-pm@lists.linux-foundation.org>,
ACPI Devel Maling List <linux-acpi@vger.kernel.org>
Subject: Re: [PATCH] PM/Suspend: Introduce two new platform callbacks to avoid breakage (Re: 900af0d breaks some embedded suspend/resume)
Date: Mon, 20 Apr 2009 18:48:27 +1000 [thread overview]
Message-ID: <1240217307.8867.53.camel@nigel-laptop> (raw)
In-Reply-To: <20090420083523.GB16002@flint.arm.linux.org.uk>
Hi.
On Mon, 2009-04-20 at 09:35 +0100, Russell King wrote:
> On Mon, Apr 20, 2009 at 09:31:47AM +1000, Nigel Cunningham wrote:
> > > }
> > >
> > > - if (suspend_ops->prepare) {
> > > - error = suspend_ops->prepare();
> > > + if (suspend_ops->prepare_late) {
> > > + error = suspend_ops->prepare_late();
> > > if (error)
> > > goto Power_up_devices;
> > > }
> >
> > Doesn't this invalidate testing that's already been done? Drivers
> > implementing prepare() (arm omap1, pxa, omap2, s3c and powerpc mpc52xx
> > and lite5200) are now going to have it called pre device_power_down.
>
> ... which is the way it has always been done prior to the change which
> broke stuff. So this patch is putting the ordering back the way it was
> which has been well proven to work on these platforms.
>
> So we're not invalidating any testing.
Ah, okay. I didn't look at anything but current HEAD. :)
Nigel
next prev parent reply other threads:[~2009-04-20 8:48 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090417231009.GB6900@flint.arm.linux.org.uk>
2009-04-18 13:23 ` 900af0d breaks some embedded suspend/resume Rafael J. Wysocki
2009-04-18 13:53 ` Russell King
2009-04-18 14:26 ` Rafael J. Wysocki
2009-04-18 14:41 ` Russell King
2009-04-18 15:09 ` Rafael J. Wysocki
2009-04-18 18:09 ` Russell King
2009-04-18 18:47 ` [PATCH] PM/Suspend: Introduce two new platform callbacks to avoid breakage (Re: 900af0d breaks some embedded suspend/resume) Rafael J. Wysocki
2009-04-19 17:57 ` Len Brown
2009-04-19 20:03 ` Russell King
2009-04-20 0:50 ` Rafael J. Wysocki
2009-04-20 0:56 ` [GIT PULL] PM update for 2.6.30 Rafael J. Wysocki
2009-04-19 23:31 ` [PATCH] PM/Suspend: Introduce two new platform callbacks to avoid breakage (Re: 900af0d breaks some embedded suspend/resume) Nigel Cunningham
2009-04-20 0:50 ` Rafael J. Wysocki
2009-04-20 8:35 ` Russell King
2009-04-20 8:48 ` Nigel Cunningham [this message]
2009-04-18 14:42 ` 900af0d breaks some embedded suspend/resume Rafael J. Wysocki
2009-04-18 19:06 ` Linus Torvalds
2009-04-18 22:44 ` Rafael J. Wysocki
2009-04-26 9:25 ` Pavel Machek
2009-04-18 13:59 ` Rafael J. Wysocki
2009-04-18 14:28 ` Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1240217307.8867.53.camel@nigel-laptop \
--to=ncunningham-lkml@crca.org.au \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=rjw@sisk.pl \
--cc=rmk+lkml@arm.linux.org.uk \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox