From 2c2f2951c2ac9983b97cd9b8461b3fcca377aee7 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Wed, 23 Apr 2008 15:13:33 +0200 Subject: [PATCH] --- yaml --- r: 92252 b: refs/heads/master c: 22cd630285b6a12a50f02dfb23c531f151be5499 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/soc/pxa/spitz.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 9a169e36deee..009e020ad190 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 29e36e49bdb7f24ca7cc0fb980fab2c407a8a2c9 +refs/heads/master: 22cd630285b6a12a50f02dfb23c531f151be5499 diff --git a/trunk/sound/soc/pxa/spitz.c b/trunk/sound/soc/pxa/spitz.c index ecca39033fcc..d8b8372db00e 100644 --- a/trunk/sound/soc/pxa/spitz.c +++ b/trunk/sound/soc/pxa/spitz.c @@ -313,15 +313,13 @@ static int spitz_wm8750_init(struct snd_soc_codec *codec) } /* Add spitz specific widgets */ - for (i = 0; i < ARRAY_SIZE(wm8750_dapm_widgets); i++) { + for (i = 0; i < ARRAY_SIZE(wm8750_dapm_widgets); i++) snd_soc_dapm_new_control(codec, &wm8750_dapm_widgets[i]); - } /* Set up spitz specific audio path audio_map */ - for (i = 0; audio_map[i][0] != NULL; i++) { + for (i = 0; audio_map[i][0] != NULL; i++) snd_soc_dapm_connect_input(codec, audio_map[i][0], audio_map[i][1], audio_map[i][2]); - } snd_soc_dapm_sync_endpoints(codec); return 0;