aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/atmel/atmel-pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/atmel/atmel-pcm.c')
-rw-r--r--sound/soc/atmel/atmel-pcm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/atmel/atmel-pcm.c b/sound/soc/atmel/atmel-pcm.c
index 9ef6b96373f5..67a32920af22 100644
--- a/sound/soc/atmel/atmel-pcm.c
+++ b/sound/soc/atmel/atmel-pcm.c
@@ -415,8 +415,9 @@ static void atmel_pcm_free_dma_buffers(struct snd_pcm *pcm)
415} 415}
416 416
417#ifdef CONFIG_PM 417#ifdef CONFIG_PM
418static int atmel_pcm_suspend(struct snd_soc_dai *dai) 418static int atmel_pcm_suspend(struct snd_soc_dai_link *dai_link)
419{ 419{
420 struct snd_soc_dai *dai = dai_link->cpu_dai;
420 struct snd_pcm_runtime *runtime = dai->runtime; 421 struct snd_pcm_runtime *runtime = dai->runtime;
421 struct atmel_runtime_data *prtd; 422 struct atmel_runtime_data *prtd;
422 struct atmel_pcm_dma_params *params; 423 struct atmel_pcm_dma_params *params;
@@ -439,8 +440,9 @@ static int atmel_pcm_suspend(struct snd_soc_dai *dai)
439 return 0; 440 return 0;
440} 441}
441 442
442static int atmel_pcm_resume(struct snd_soc_dai *dai) 443static int atmel_pcm_resume(struct snd_soc_dai_link *dai_link)
443{ 444{
445 struct snd_soc_dai *dai = dai_link->cpu_dai;
444 struct snd_pcm_runtime *runtime = dai->runtime; 446 struct snd_pcm_runtime *runtime = dai->runtime;
445 struct atmel_runtime_data *prtd; 447 struct atmel_runtime_data *prtd;
446 struct atmel_pcm_dma_params *params; 448 struct atmel_pcm_dma_params *params;