diff options
-rw-r--r-- | sound/soc/pxa/spitz.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/pxa/spitz.c b/sound/soc/pxa/spitz.c index ecca39033fcc..d8b8372db00e 100644 --- a/sound/soc/pxa/spitz.c +++ b/sound/soc/pxa/spitz.c | |||
@@ -313,15 +313,13 @@ static int spitz_wm8750_init(struct snd_soc_codec *codec) | |||
313 | } | 313 | } |
314 | 314 | ||
315 | /* Add spitz specific widgets */ | 315 | /* Add spitz specific widgets */ |
316 | for (i = 0; i < ARRAY_SIZE(wm8750_dapm_widgets); i++) { | 316 | for (i = 0; i < ARRAY_SIZE(wm8750_dapm_widgets); i++) |
317 | snd_soc_dapm_new_control(codec, &wm8750_dapm_widgets[i]); | 317 | snd_soc_dapm_new_control(codec, &wm8750_dapm_widgets[i]); |
318 | } | ||
319 | 318 | ||
320 | /* Set up spitz specific audio path audio_map */ | 319 | /* Set up spitz specific audio path audio_map */ |
321 | for (i = 0; audio_map[i][0] != NULL; i++) { | 320 | for (i = 0; audio_map[i][0] != NULL; i++) |
322 | snd_soc_dapm_connect_input(codec, audio_map[i][0], | 321 | snd_soc_dapm_connect_input(codec, audio_map[i][0], |
323 | audio_map[i][1], audio_map[i][2]); | 322 | audio_map[i][1], audio_map[i][2]); |
324 | } | ||
325 | 323 | ||
326 | snd_soc_dapm_sync_endpoints(codec); | 324 | snd_soc_dapm_sync_endpoints(codec); |
327 | return 0; | 325 | return 0; |