aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/sh7760-ac97.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/sh/sh7760-ac97.c')
-rw-r--r--sound/soc/sh/sh7760-ac97.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/sh/sh7760-ac97.c b/sound/soc/sh/sh7760-ac97.c
index 917d3ceadc9d..c62ae689c4a1 100644
--- a/sound/soc/sh/sh7760-ac97.c
+++ b/sound/soc/sh/sh7760-ac97.c
@@ -20,12 +20,6 @@
20extern struct snd_soc_dai_driver sh4_hac_dai[2]; 20extern struct snd_soc_dai_driver sh4_hac_dai[2];
21extern struct snd_soc_platform_driver sh7760_soc_platform; 21extern struct snd_soc_platform_driver sh7760_soc_platform;
22 22
23static int machine_init(struct snd_soc_pcm_runtime *rtd)
24{
25 snd_soc_dapm_sync(&rtd->codec->dapm);
26 return 0;
27}
28
29static struct snd_soc_dai_link sh7760_ac97_dai = { 23static struct snd_soc_dai_link sh7760_ac97_dai = {
30 .name = "AC97", 24 .name = "AC97",
31 .stream_name = "AC97 HiFi", 25 .stream_name = "AC97 HiFi",
@@ -33,7 +27,6 @@ static struct snd_soc_dai_link sh7760_ac97_dai = {
33 .codec_dai_name = "ac97-hifi", 27 .codec_dai_name = "ac97-hifi",
34 .platform_name = "sh7760-pcm-audio", 28 .platform_name = "sh7760-pcm-audio",
35 .codec_name = "ac97-codec", 29 .codec_name = "ac97-codec",
36 .init = machine_init,
37 .ops = NULL, 30 .ops = NULL,
38}; 31};
39 32