diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-12-03 13:21:52 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-12-03 14:19:10 -0500 |
commit | dc7d7b830ee1f4111696e73d1c25da683b461548 (patch) | |
tree | 4b15c46c97756605dcf9baa3b2de2e1af2570264 /sound/soc/blackfin/bf5xx-ac97.c | |
parent | 07c84d0409f3551b79d676630d8ee76bb551598d (diff) |
ASoC: Remove platform device from DAI suspend and resume operations
None of the DAIs use it except s3c2412-i2s which only uses it for
dev_() printouts.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/blackfin/bf5xx-ac97.c')
-rw-r--r-- | sound/soc/blackfin/bf5xx-ac97.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/blackfin/bf5xx-ac97.c b/sound/soc/blackfin/bf5xx-ac97.c index 709bdf08e398..c602ce109d52 100644 --- a/sound/soc/blackfin/bf5xx-ac97.c +++ b/sound/soc/blackfin/bf5xx-ac97.c | |||
@@ -269,8 +269,7 @@ struct snd_ac97_bus_ops soc_ac97_ops = { | |||
269 | EXPORT_SYMBOL_GPL(soc_ac97_ops); | 269 | EXPORT_SYMBOL_GPL(soc_ac97_ops); |
270 | 270 | ||
271 | #ifdef CONFIG_PM | 271 | #ifdef CONFIG_PM |
272 | static int bf5xx_ac97_suspend(struct platform_device *pdev, | 272 | static int bf5xx_ac97_suspend(struct snd_soc_dai *dai) |
273 | struct snd_soc_dai *dai) | ||
274 | { | 273 | { |
275 | struct sport_device *sport = | 274 | struct sport_device *sport = |
276 | (struct sport_device *)dai->private_data; | 275 | (struct sport_device *)dai->private_data; |
@@ -285,8 +284,7 @@ static int bf5xx_ac97_suspend(struct platform_device *pdev, | |||
285 | return 0; | 284 | return 0; |
286 | } | 285 | } |
287 | 286 | ||
288 | static int bf5xx_ac97_resume(struct platform_device *pdev, | 287 | static int bf5xx_ac97_resume(struct snd_soc_dai *dai) |
289 | struct snd_soc_dai *dai) | ||
290 | { | 288 | { |
291 | int ret; | 289 | int ret; |
292 | struct sport_device *sport = | 290 | struct sport_device *sport = |