linux-stable-rt/arch/arm/mach-pxa
Johannes Berg e8c9c50269 power management: implement pm_ops.valid for everybody
Almost all users of pm_ops only support mem sleep, don't check in .valid and
don't reject any others in .prepare so users can be confused if they check
/sys/power/state, especially when new states are added (these would then
result in s-t-r although they're supposed to be something different).

This patch implements a generic pm_valid_only_mem function that is then
exported for users and puts it to use in almost all existing pm_ops.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: David Brownell <david-b@pacbell.net>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: linux-pm@lists.linux-foundation.org
Cc: Len Brown <lenb@kernel.org>
Acked-by: Russell King <rmk@arm.linux.org.uk>
Cc: Greg KH <greg@kroah.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-04-30 16:40:40 -07:00
..
Kconfig
Makefile
Makefile.boot
akita-ioexp.c
clock.c
corgi.c
corgi_lcd.c
corgi_pm.c [ARM] Yet more asm/apm-emulation.h stuff 2007-03-02 11:58:57 +00:00
corgi_ssp.c
dma.c
generic.c [PATCH] GPIO API: PXA wrapper cleanup 2007-02-20 17:10:16 -08:00
generic.h
idp.c
irq.c
leds-idp.c
leds-lubbock.c
leds-mainstone.c
leds-trizeps4.c
leds.c
leds.h
lpd270.c
lubbock.c
mainstone.c
pm.c power management: implement pm_ops.valid for everybody 2007-04-30 16:40:40 -07:00
poodle.c
pxa25x.c
pxa27x.c
sharpsl.h
sharpsl_pm.c [ARM] Fix more apm-emulation.h 2007-02-26 21:04:29 +00:00
sleep.S
spitz.c
spitz_pm.c [ARM] Yet more asm/apm-emulation.h stuff 2007-03-02 11:58:57 +00:00
ssp.c
standby.S
time.c [PATCH] clocksource: fixup is_continous changes on ARM 2007-02-16 08:13:57 -08:00
tosa.c [ARM] 4249/1: Fix tosa compile failure 2007-03-08 13:33:58 +00:00
trizeps4.c [ARM] Remove empty fixup function 2006-12-13 14:48:36 +00:00