diff options
Diffstat (limited to 'sound/soc/au1x/psc-ac97.c')
-rw-r--r-- | sound/soc/au1x/psc-ac97.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/au1x/psc-ac97.c b/sound/soc/au1x/psc-ac97.c index a0bcfeaf5f86..a1e824d29cf9 100644 --- a/sound/soc/au1x/psc-ac97.c +++ b/sound/soc/au1x/psc-ac97.c | |||
@@ -314,8 +314,7 @@ static void au1xpsc_ac97_remove(struct platform_device *pdev, | |||
314 | au1xpsc_ac97_workdata = NULL; | 314 | au1xpsc_ac97_workdata = NULL; |
315 | } | 315 | } |
316 | 316 | ||
317 | static int au1xpsc_ac97_suspend(struct platform_device *pdev, | 317 | static int au1xpsc_ac97_suspend(struct snd_soc_dai *dai) |
318 | struct snd_soc_dai *dai) | ||
319 | { | 318 | { |
320 | /* save interesting registers and disable PSC */ | 319 | /* save interesting registers and disable PSC */ |
321 | au1xpsc_ac97_workdata->pm[0] = | 320 | au1xpsc_ac97_workdata->pm[0] = |
@@ -329,8 +328,7 @@ static int au1xpsc_ac97_suspend(struct platform_device *pdev, | |||
329 | return 0; | 328 | return 0; |
330 | } | 329 | } |
331 | 330 | ||
332 | static int au1xpsc_ac97_resume(struct platform_device *pdev, | 331 | static int au1xpsc_ac97_resume(struct snd_soc_dai *dai) |
333 | struct snd_soc_dai *dai) | ||
334 | { | 332 | { |
335 | /* restore PSC clock config */ | 333 | /* restore PSC clock config */ |
336 | au_writel(au1xpsc_ac97_workdata->pm[0] | PSC_SEL_PS_AC97MODE, | 334 | au_writel(au1xpsc_ac97_workdata->pm[0] | PSC_SEL_PS_AC97MODE, |