linux/arch/arm/mach-omap2
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 ARM: OMAP: Port dmtimers to OMAP2 and implement PWM support 2006-06-26 16:16:12 -07:00
Makefile ARM: OMAP: Add initial 24xx suspend support 2006-06-26 16:16:18 -07:00
Makefile.boot [ARM] 3145/1: OMAP 3a/5: Add support for omap24xx 2005-11-10 14:26:51 +00:00
board-apollon.c [PATCH] ARM: OMAP: fix missing header on apollon board 2006-12-30 10:56:42 -08:00
board-generic.c fix file specification in comments 2006-10-03 23:01:26 +02:00
board-h4.c ARM: OMAP: Use linux/delay.h not asm/delay.h 2007-03-02 01:47:13 -08:00
clock.c ARM: OMAP: Include missing header 2007-03-07 01:17:46 -08:00
clock.h ARM: OMAP: Fix OMAP2 dss2 so clk_set_parent works 2007-03-07 01:17:46 -08:00
devices.c Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-07-02 15:04:12 -07:00
gpmc.c [PATCH] ARM: OMAP: fix GPMC compiler errors 2006-12-30 10:56:42 -08:00
id.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io.c Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-07-02 15:04:12 -07:00
irq.c [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
memory.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
memory.h [ARM] 3426/1: ARM: OMAP: 1/8 Update clock framework 2006-04-02 17:46:20 +01:00
mux.c ARM: OMAP: Apollon MMC support 2006-09-25 12:41:25 +03:00
pm-domain.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
pm.c power management: implement pm_ops.valid for everybody 2007-04-30 16:40:40 -07:00
prcm-regs.h fix file specification in comments 2006-10-03 23:01:26 +02:00
prcm.c ARM: OMAP: Avoid sleeping during arch_reset 2006-09-25 12:41:20 +03:00
serial.c fix file specification in comments 2006-10-03 23:01:26 +02:00
sleep.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sram-fn.S fix file specification in comments 2006-10-03 23:01:26 +02:00
timer-gp.c ARM: OMAP: omap GP timer: HZ != 100 2007-03-02 01:47:10 -08:00