[ARM] pxa: program MFPs for low power mode when suspending
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 8 Jan 2008 15:12:22 +0000 (15:12 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 15:07:56 +0000 (15:07 +0000)
commitd4fc858f9cfec5200a957c305d61ffc28c5d7796
tree489836868e789f248cbff692d0403b6c590597dd
parent7f7c8a619253c83cf3b1071df3b001811d0c1a6c
[ARM] pxa: program MFPs for low power mode when suspending

Hook the MFP code into the power management code so that the MFPs can
be reconfigured when suspending and resuming.  However, note the FIXME
- low power mode MFP configuration may depend on the system state being
entered.

Also note that we have to clear any detected edge events prior to
entering a low power mode - otherwise we immediately wake up.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/mfp.c