tmp_suning_uos_patched/arch/arm/plat-s3c24xx
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
..
clock.c [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00
common-smdk.c [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00
cpu.c [ARM] 4198/2: S3C2443: arch/arm/mach-s3c2443 and related support 2007-02-16 11:13:37 +00:00
devs.c [ARM] 4173/1: S3C24XX usb device platform datas 2007-02-14 15:04:13 +00:00
dma.c [ARM] 4220/1: S3C24XX: DMA system initialised from sysdev 2007-02-17 15:00:34 +00:00
gpio.c [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00
irq.c [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00
Kconfig [ARM] 4239/1: S3C24XX: Update kconfig entries for PM 2007-03-02 11:58:58 +00:00
Makefile [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00
pm-simtec.c [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00
pm.c power management: implement pm_ops.valid for everybody 2007-04-30 16:40:40 -07:00
s3c244x-irq.c [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00
s3c244x.c [ARM] 4198/2: S3C2443: arch/arm/mach-s3c2443 and related support 2007-02-16 11:13:37 +00:00
s3c244x.h [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00
sleep.S [ARM] 4170/1: S3C2410: don't save and restore cp register 15 2007-02-12 20:58:07 +00:00
time.c [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00