aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/atmel
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-12-03 13:21:52 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-12-03 14:19:10 -0500
commitdc7d7b830ee1f4111696e73d1c25da683b461548 (patch)
tree4b15c46c97756605dcf9baa3b2de2e1af2570264 /sound/soc/atmel
parent07c84d0409f3551b79d676630d8ee76bb551598d (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/atmel')
-rw-r--r--sound/soc/atmel/atmel_ssc_dai.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c
index 0bb18dfa9495..d9b874c5bf37 100644
--- a/sound/soc/atmel/atmel_ssc_dai.c
+++ b/sound/soc/atmel/atmel_ssc_dai.c
@@ -628,8 +628,7 @@ static int atmel_ssc_prepare(struct snd_pcm_substream *substream,
628 628
629 629
630#ifdef CONFIG_PM 630#ifdef CONFIG_PM
631static int atmel_ssc_suspend(struct platform_device *pdev, 631static int atmel_ssc_suspend(struct snd_soc_dai *cpu_dai)
632 struct snd_soc_dai *cpu_dai)
633{ 632{
634 struct atmel_ssc_info *ssc_p; 633 struct atmel_ssc_info *ssc_p;
635 634
@@ -657,8 +656,7 @@ static int atmel_ssc_suspend(struct platform_device *pdev,
657 656
658 657
659 658
660static int atmel_ssc_resume(struct platform_device *pdev, 659static int atmel_ssc_resume(struct snd_soc_dai *cpu_dai)
661 struct snd_soc_dai *cpu_dai)
662{ 660{
663 struct atmel_ssc_info *ssc_p; 661 struct atmel_ssc_info *ssc_p;
664 u32 cr; 662 u32 cr;