summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-ac97.c12
-rw-r--r--sound/soc/soc-core.c2
2 files changed, 0 insertions, 14 deletions
diff --git a/sound/soc/soc-ac97.c b/sound/soc/soc-ac97.c
index b5d23c976662..f2ed77b5169a 100644
--- a/sound/soc/soc-ac97.c
+++ b/sound/soc/soc-ac97.c
@@ -342,15 +342,3 @@ err:
soc_unregister_ac97_dai_link(&card->rtd[i]);
return ret;
}
-
-void snd_soc_ac97_add_pdata(struct snd_soc_pcm_runtime *rtd)
-{
- unsigned int i;
-
- /* add platform data for AC97 devices */
- for (i = 0; i < rtd->num_codecs; i++) {
- if (rtd->codec_dais[i]->driver->ac97_control)
- snd_ac97_dev_add_pdata(rtd->codec_dais[i]->codec->ac97,
- rtd->cpu_dai->ac97_pdata);
- }
-}
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 026722f5ebf4..d883b4ad03ac 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1375,8 +1375,6 @@ static int soc_probe_link_dais(struct snd_soc_card *card, int num, int order)
}
}
- snd_soc_ac97_add_pdata(rtd);
-
return 0;
}