aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAndy Green <agreen@octopus.localdomain>2009-01-31 17:24:13 +0000
committerAndy Green <agreen@octopus.localdomain>2009-01-31 17:24:13 +0000
commit9deff1b20f0c75b260522ec990a3c55863c30b89 (patch)
treed71f982842ae9b5206a753ca2f4278ff6dcfa44b /sound
parent276bcaddb8cd0fa3cf30d7e2809062fb8b7402eb (diff)
The continue instead of return is not necessary now, because the DAI
has a dummy inizialization. Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index ff66d47ab24..62eda261155 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -817,7 +817,7 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card)
if (!found) {
dev_dbg(card->dev, "DAI %s not registered\n",
card->dai_link[i].cpu_dai->name);
- continue;
+ return;
}
if (card->dai_link[i].cpu_dai->ac97_control)
@@ -841,7 +841,7 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card)
if (!found) {
dev_dbg(card->dev, "DAI %s not registered\n",
card->dai_link[i].codec_dai->name);
- continue;
+ return;
}
}