aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-12-03 13:17:28 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-12-03 13:27:10 -0500
commit07c84d0409f3551b79d676630d8ee76bb551598d (patch)
tree547a9f23de0355003348ee2a6edbd74bee1812ff /sound/soc/soc-core.c
parent384c89e2e4cb5879b86a38414d1b3bb2b23ec8ee (diff)
ASoC: Remove device from platform suspend and resume operations
None of the platforms are actually using the SoC device so remove it (only atmel actually has a suspend method). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 34114398b914..f83852f11463 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -652,7 +652,7 @@ static int soc_suspend(struct platform_device *pdev, pm_message_t state)
652 if (cpu_dai->suspend && !cpu_dai->ac97_control) 652 if (cpu_dai->suspend && !cpu_dai->ac97_control)
653 cpu_dai->suspend(pdev, cpu_dai); 653 cpu_dai->suspend(pdev, cpu_dai);
654 if (platform->suspend) 654 if (platform->suspend)
655 platform->suspend(pdev, cpu_dai); 655 platform->suspend(cpu_dai);
656 } 656 }
657 657
658 /* close any waiting streams and save state */ 658 /* close any waiting streams and save state */
@@ -741,7 +741,7 @@ static void soc_resume_deferred(struct work_struct *work)
741 if (cpu_dai->resume && !cpu_dai->ac97_control) 741 if (cpu_dai->resume && !cpu_dai->ac97_control)
742 cpu_dai->resume(pdev, cpu_dai); 742 cpu_dai->resume(pdev, cpu_dai);
743 if (platform->resume) 743 if (platform->resume)
744 platform->resume(pdev, cpu_dai); 744 platform->resume(cpu_dai);
745 } 745 }
746 746
747 if (card->resume_post) 747 if (card->resume_post)