aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index f83852f11463..2f2a8d93bbf0 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -650,7 +650,7 @@ static int soc_suspend(struct platform_device *pdev, pm_message_t state)
650 for (i = 0; i < card->num_links; i++) { 650 for (i = 0; i < card->num_links; i++) {
651 struct snd_soc_dai *cpu_dai = card->dai_link[i].cpu_dai; 651 struct snd_soc_dai *cpu_dai = card->dai_link[i].cpu_dai;
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(cpu_dai);
654 if (platform->suspend) 654 if (platform->suspend)
655 platform->suspend(cpu_dai); 655 platform->suspend(cpu_dai);
656 } 656 }
@@ -676,7 +676,7 @@ static int soc_suspend(struct platform_device *pdev, pm_message_t state)
676 for (i = 0; i < card->num_links; i++) { 676 for (i = 0; i < card->num_links; i++) {
677 struct snd_soc_dai *cpu_dai = card->dai_link[i].cpu_dai; 677 struct snd_soc_dai *cpu_dai = card->dai_link[i].cpu_dai;
678 if (cpu_dai->suspend && cpu_dai->ac97_control) 678 if (cpu_dai->suspend && cpu_dai->ac97_control)
679 cpu_dai->suspend(pdev, cpu_dai); 679 cpu_dai->suspend(cpu_dai);
680 } 680 }
681 681
682 if (card->suspend_post) 682 if (card->suspend_post)
@@ -712,7 +712,7 @@ static void soc_resume_deferred(struct work_struct *work)
712 for (i = 0; i < card->num_links; i++) { 712 for (i = 0; i < card->num_links; i++) {
713 struct snd_soc_dai *cpu_dai = card->dai_link[i].cpu_dai; 713 struct snd_soc_dai *cpu_dai = card->dai_link[i].cpu_dai;
714 if (cpu_dai->resume && cpu_dai->ac97_control) 714 if (cpu_dai->resume && cpu_dai->ac97_control)
715 cpu_dai->resume(pdev, cpu_dai); 715 cpu_dai->resume(cpu_dai);
716 } 716 }
717 717
718 if (codec_dev->resume) 718 if (codec_dev->resume)
@@ -739,7 +739,7 @@ static void soc_resume_deferred(struct work_struct *work)
739 for (i = 0; i < card->num_links; i++) { 739 for (i = 0; i < card->num_links; i++) {
740 struct snd_soc_dai *cpu_dai = card->dai_link[i].cpu_dai; 740 struct snd_soc_dai *cpu_dai = card->dai_link[i].cpu_dai;
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(cpu_dai);
743 if (platform->resume) 743 if (platform->resume)
744 platform->resume(cpu_dai); 744 platform->resume(cpu_dai);
745 } 745 }