linux-stable-rt/arch/arm
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
..
boot
common power management: implement pm_ops.valid for everybody 2007-04-30 16:40:40 -07:00
configs [ARM] 4313/1: S3C24XX: Update s3c2410 defconfig to 2.6.21-rc6 2007-04-16 21:03:00 +01:00
kernel [ARM] Export dma_channel_active() 2007-03-31 21:36:53 +01:00
lib
mach-aaec2000
mach-at91 rework pm_ops pm_disk_mode, kill misuse 2007-04-30 16:40:40 -07:00
mach-clps711x
mach-clps7500
mach-ebsa110
mach-ep93xx
mach-footbridge
mach-h720x
mach-imx [ARM] 4255/1: i.MX/MX1 Correct MPU PLL reference clock value. 2007-03-12 16:49:35 +00:00
mach-integrator
mach-iop13xx
mach-iop32x [ARM] 4271/1: iop32x: fix ep80219 detection (support iq80219 platforms) 2007-03-17 22:33:26 +00:00
mach-iop33x
mach-ixp4xx
mach-ixp23xx
mach-ixp2000
mach-l7200
mach-lh7a40x
mach-netx
mach-ns9xxx [ARM] 4247/1: Fix long name for cc9p9360dev 2007-03-08 13:33:56 +00:00
mach-omap1 power management: implement pm_ops.valid for everybody 2007-04-30 16:40:40 -07:00
mach-omap2 power management: implement pm_ops.valid for everybody 2007-04-30 16:40:40 -07:00
mach-pnx4008 power management: implement pm_ops.valid for everybody 2007-04-30 16:40:40 -07:00
mach-pxa power management: implement pm_ops.valid for everybody 2007-04-30 16:40:40 -07:00
mach-realview
mach-rpc
mach-s3c2400
mach-s3c2410 [ARM] 4272/1: Missing symbol h1940_pm_return fix 2007-03-20 22:42:39 +00:00
mach-s3c2412
mach-s3c2440 [ARM] 4272/1: Missing symbol h1940_pm_return fix 2007-03-20 22:42:39 +00:00
mach-s3c2442
mach-s3c2443 [ARM] 4270/2: mach-s3c2443/irq.c off by one error in dma irqs 2007-03-17 22:30:28 +00:00
mach-sa1100 power management: implement pm_ops.valid for everybody 2007-04-30 16:40:40 -07:00
mach-shark
mach-versatile
mm
nwfpe
oprofile [ARM] 4237/2: oprofile: Always allow backtraces on ARM 2007-03-02 11:58:58 +00:00
plat-iop
plat-omap ARM: OMAP: Use linux/delay.h not asm/delay.h 2007-03-02 01:47:13 -08:00
plat-s3c24xx power management: implement pm_ops.valid for everybody 2007-04-30 16:40:40 -07:00
tools [ARM] Update mach-types 2007-04-16 21:01:56 +01:00
vfp
Kconfig [PATCH] add CONFIG_GENERIC_GPIO 2007-03-05 07:57:51 -08:00
Kconfig-nommu
Kconfig.debug
Makefile