From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH] add firmware disk state and clean up Date: Tue, 20 Mar 2007 23:09:47 +0100 Message-ID: <20070320220946.GL3545@elf.ucw.cz> References: <20070320015846.636692000@sipsolutions.net> <20070320094352.GF3922@elf.ucw.cz> <1174385865.3770.20.camel@johannes.berg> <200703201559.33065.david-b@pacbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <200703201559.33065.david-b@pacbell.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: David Brownell Cc: Alexey Starikovskiy , Dirk Behme , linux-pm@lists.osdl.org, Ben Dooks , Johannes Berg , Nicolas Pitre List-Id: linux-pm@vger.kernel.org Hi! > > +static int at91_pm_valid(suspend_state_t state) > > +{ > > + return state =3D=3D PM_SUSPEND_MEM; > > +} > > = > > static struct pm_ops at91_pm_ops =3D{ > > .valid =3D at91_pm_valid_state, > > .prepare =3D at91_pm_prepare, > > .enter =3D at91_pm_enter, > > + .valid =3D at91_pm_valid, > > }; > > = > > static int __init at91_pm_init(void) > = > Clearly bogus. The STR support isn't upstream yet, true, but No... look again. This tries to disable suspend-to-disk on ARM, so that only suspend-to-RAM is enabled. I'd not call it bogus. The series is needed to stop pm from reporting "platform" on ARM; "platform" only makes sense on ACPI systems. Pavel -- = (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html