aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa/e750_wm9705.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/pxa/e750_wm9705.c')
-rw-r--r--sound/soc/pxa/e750_wm9705.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/pxa/e750_wm9705.c b/sound/soc/pxa/e750_wm9705.c
index c34e447eb991..ee36aba88063 100644
--- a/sound/soc/pxa/e750_wm9705.c
+++ b/sound/soc/pxa/e750_wm9705.c
@@ -85,11 +85,6 @@ static int e750_ac97_init(struct snd_soc_pcm_runtime *rtd)
85 snd_soc_dapm_nc_pin(dapm, "PCBEEP"); 85 snd_soc_dapm_nc_pin(dapm, "PCBEEP");
86 snd_soc_dapm_nc_pin(dapm, "MIC2"); 86 snd_soc_dapm_nc_pin(dapm, "MIC2");
87 87
88 snd_soc_dapm_new_controls(dapm, e750_dapm_widgets,
89 ARRAY_SIZE(e750_dapm_widgets));
90
91 snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));
92
93 return 0; 88 return 0;
94} 89}
95 90
@@ -119,6 +114,11 @@ static struct snd_soc_card e750 = {
119 .owner = THIS_MODULE, 114 .owner = THIS_MODULE,
120 .dai_link = e750_dai, 115 .dai_link = e750_dai,
121 .num_links = ARRAY_SIZE(e750_dai), 116 .num_links = ARRAY_SIZE(e750_dai),
117
118 .dapm_widgets = e750_dapm_widgets,
119 .num_dapm_widgets = ARRAY_SIZE(e750_dapm_widgets),
120 .dapm_routes = audio_map,
121 .num_dapm_routes = ARRAY_SIZE(audio_map),
122}; 122};
123 123
124static struct gpio e750_audio_gpios[] = { 124static struct gpio e750_audio_gpios[] = {