diff options
Diffstat (limited to 'sound/soc/samsung/s3c24xx_simtec_hermes.c')
-rw-r--r-- | sound/soc/samsung/s3c24xx_simtec_hermes.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/samsung/s3c24xx_simtec_hermes.c b/sound/soc/samsung/s3c24xx_simtec_hermes.c index 359530bc7a9a..6bc5a36af1d9 100644 --- a/sound/soc/samsung/s3c24xx_simtec_hermes.c +++ b/sound/soc/samsung/s3c24xx_simtec_hermes.c | |||
@@ -65,11 +65,6 @@ static int simtec_hermes_init(struct snd_soc_pcm_runtime *rtd) | |||
65 | struct snd_soc_codec *codec = rtd->codec; | 65 | struct snd_soc_codec *codec = rtd->codec; |
66 | struct snd_soc_dapm_context *dapm = &codec->dapm; | 66 | struct snd_soc_dapm_context *dapm = &codec->dapm; |
67 | 67 | ||
68 | snd_soc_dapm_new_controls(dapm, dapm_widgets, | ||
69 | ARRAY_SIZE(dapm_widgets)); | ||
70 | |||
71 | snd_soc_dapm_add_routes(dapm, base_map, ARRAY_SIZE(base_map)); | ||
72 | |||
73 | snd_soc_dapm_enable_pin(dapm, "Headphone Jack"); | 68 | snd_soc_dapm_enable_pin(dapm, "Headphone Jack"); |
74 | snd_soc_dapm_enable_pin(dapm, "Line In"); | 69 | snd_soc_dapm_enable_pin(dapm, "Line In"); |
75 | snd_soc_dapm_enable_pin(dapm, "Line Out"); | 70 | snd_soc_dapm_enable_pin(dapm, "Line Out"); |
@@ -95,6 +90,11 @@ static struct snd_soc_card snd_soc_machine_simtec_aic33 = { | |||
95 | .name = "Simtec-Hermes", | 90 | .name = "Simtec-Hermes", |
96 | .dai_link = &simtec_dai_aic33, | 91 | .dai_link = &simtec_dai_aic33, |
97 | .num_links = 1, | 92 | .num_links = 1, |
93 | |||
94 | .dapm_widgets = dapm_widgets, | ||
95 | .num_dapm_widgets = ARRAY_SIZE(dapm_widgets), | ||
96 | .dapm_routes = base_map, | ||
97 | .num_dapm_routes = ARRAY_SIZE(base_map), | ||
98 | }; | 98 | }; |
99 | 99 | ||
100 | static int __devinit simtec_audio_hermes_probe(struct platform_device *pd) | 100 | static int __devinit simtec_audio_hermes_probe(struct platform_device *pd) |