]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitcc1ae11e68c635996b9296aa4ebf4199f3b719ad
tree489836868e789f248cbff692d0403b6c590597dd
parent5cd8d870836654098844f230dbc73c9daba59ee0
[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