[ARM] pxa: Allow platforms to override PSPR setting
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 27 Aug 2008 11:55:04 +0000 (12:55 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 9 Sep 2008 15:32:52 +0000 (16:32 +0100)
commit4104980a3c21801f701e53961375b3d736ee9a73
treef2c0b6759e45fd696a138a4ff32caabc513f32af
parent63bef5473892ae683a9e989975180a5754b0ae33
[ARM] pxa: Allow platforms to override PSPR setting

Currently, we set PSPR just before entering sleep mode.  However,
some platforms have different requirements for setting PSPR in
order to properly wake up.

Set PSPR earlier in the suspend cycle so that platforms can
change the setting by using a sysdev driver instead.

Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/include/mach/pm.h
arch/arm/mach-pxa/pm.c
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c