]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
OMAP3: PM: Check in set_pwrdm_state that target state is supported by pwrdm v2
authorJouni Hogander <jouni.hogander@nokia.com>
Mon, 17 Nov 2008 08:18:01 +0000 (10:18 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 19 Nov 2008 18:03:21 +0000 (10:03 -0800)
commit7a54b0f6f39ea1e5dbff6bb47314bea228bf6e44
tree765a5c06b9d3a5130838a06841b446c547822964
parente88af5fb139aa77131ebbc730a952e019c8f93c1
OMAP3: PM: Check in set_pwrdm_state that target state is supported by pwrdm v2

Check that wanted sleep state is supported by powerdomain. If it is
not supported, then use next lowest supported state.

Check also on suspend that state of pwrdm was lower or equal.

Signed-off-by: Jouni Hogander <jouni.hogander@nokia.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm34xx.c