Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@net.rmk.(none)>2005-01-21 23:20:07 +0000
committerRussell King <rmk@flint.arm.linux.org.uk>2005-01-21 23:20:07 +0000
commit5d1398ce33cf69870a423b2d1126d227ce554f04 (patch)
treeb16951eff35bd0784b37af7ea6e4f6675fdd791b
parent2c5ec74f2178c0873686efd4b1bdf03c8190d8c7 (diff)
[ARM PATCH] 2425/1: PXA Corgi - Flush ssp before suspending
Patch from Richard Purdie Make sure the PXA Corgi ssp driver flushes the ssp port before suspending. Signed-off-by: Richard Purdie Signed-off-by: Russell King
-rw-r--r--arch/arm/mach-pxa/corgi_ssp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/corgi_ssp.c b/arch/arm/mach-pxa/corgi_ssp.c
index 1d2a881f3b7e..9e01883025d6 100644
--- a/arch/arm/mach-pxa/corgi_ssp.c
+++ b/arch/arm/mach-pxa/corgi_ssp.c
@@ -213,6 +213,7 @@ static int corgi_ssp_remove(struct device *dev)
static int corgi_ssp_suspend(struct device *dev, u32 state, u32 level)
{
if (level == SUSPEND_POWER_DOWN) {
+ ssp_flush(&corgi_ssp_dev);
ssp_save_state(&corgi_ssp_dev,&corgi_ssp_state);
}
return 0;