Commit 5d1398ce authored by Richard Purdie's avatar Richard Purdie Committed by Russell King

[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
parent 2c5ec74f
...@@ -213,6 +213,7 @@ static int corgi_ssp_remove(struct device *dev) ...@@ -213,6 +213,7 @@ static int corgi_ssp_remove(struct device *dev)
static int corgi_ssp_suspend(struct device *dev, u32 state, u32 level) static int corgi_ssp_suspend(struct device *dev, u32 state, u32 level)
{ {
if (level == SUSPEND_POWER_DOWN) { if (level == SUSPEND_POWER_DOWN) {
ssp_flush(&corgi_ssp_dev);
ssp_save_state(&corgi_ssp_dev,&corgi_ssp_state); ssp_save_state(&corgi_ssp_dev,&corgi_ssp_state);
} }
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment