From 484b7cb125945010e9a2f86eedd14745717229d7 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Wed, 23 Apr 2008 15:13:04 +0200 Subject: [PATCH] --- yaml --- r: 92251 b: refs/heads/master c: 29e36e49bdb7f24ca7cc0fb980fab2c407a8a2c9 h: refs/heads/master i: 92249: bd612bc2e8e641affeb76b8c1e643985b12887bc 92247: 0f62c9e54d419fefebf6c9eff5f3063d597245d3 v: v3 --- [refs] | 2 +- trunk/sound/soc/pxa/poodle.c | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 81d811377d5d..9a169e36deee 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1bfcd361461f25be7d6d180a8da30d02bc124046 +refs/heads/master: 29e36e49bdb7f24ca7cc0fb980fab2c407a8a2c9 diff --git a/trunk/sound/soc/pxa/poodle.c b/trunk/sound/soc/pxa/poodle.c index 4fbf8bba9627..7e830b218943 100644 --- a/trunk/sound/soc/pxa/poodle.c +++ b/trunk/sound/soc/pxa/poodle.c @@ -257,21 +257,19 @@ static int poodle_wm8731_init(struct snd_soc_codec *codec) /* Add poodle specific controls */ for (i = 0; i < ARRAY_SIZE(wm8731_poodle_controls); i++) { err = snd_ctl_add(codec->card, - snd_soc_cnew(&wm8731_poodle_controls[i],codec, NULL)); + snd_soc_cnew(&wm8731_poodle_controls[i], codec, NULL)); if (err < 0) return err; } /* Add poodle specific widgets */ - for (i = 0; i < ARRAY_SIZE(wm8731_dapm_widgets); i++) { + for (i = 0; i < ARRAY_SIZE(wm8731_dapm_widgets); i++) snd_soc_dapm_new_control(codec, &wm8731_dapm_widgets[i]); - } /* Set up poodle 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;