aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-10-30 13:09:55 +0200
committerTakashi Iwai <tiwai@suse.de>2008-10-30 12:11:24 +0100
commit8cd2b264d92bb949ddccfb6db6a82254bb07af75 (patch)
tree70ca22405e53de0068f862f7c5556a7ee4c317a1 /sound/pci
parente2736261b4c85e36f7c8a66dd082ec0751230460 (diff)
downloadkernel_samsung_crespo-8cd2b264d92bb949ddccfb6db6a82254bb07af75.zip
kernel_samsung_crespo-8cd2b264d92bb949ddccfb6db6a82254bb07af75.tar.gz
kernel_samsung_crespo-8cd2b264d92bb949ddccfb6db6a82254bb07af75.tar.bz2
ALSA: sound/ice1712: indentation & braces disagree - add braces
Neither has any significance currently to the flow because err is checked for the same condition before the place of disagreement. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/ice1712/ice1712.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c
index 5b44238..58d7cda 100644
--- a/sound/pci/ice1712/ice1712.c
+++ b/sound/pci/ice1712/ice1712.c
@@ -2688,12 +2688,13 @@ static int __devinit snd_ice1712_probe(struct pci_dev *pci,
return err;
}
- if (ice_has_con_ac97(ice))
+ if (ice_has_con_ac97(ice)) {
err = snd_ice1712_pcm(ice, pcm_dev++, NULL);
if (err < 0) {
snd_card_free(card);
return err;
}
+ }
err = snd_ice1712_ac97_mixer(ice);
if (err < 0) {
@@ -2715,12 +2716,13 @@ static int __devinit snd_ice1712_probe(struct pci_dev *pci,
}
}
- if (ice_has_con_ac97(ice))
+ if (ice_has_con_ac97(ice)) {
err = snd_ice1712_pcm_ds(ice, pcm_dev++, NULL);
if (err < 0) {
snd_card_free(card);
return err;
}
+ }
if (!c->no_mpu401) {
err = snd_mpu401_uart_new(card, 0, MPU401_HW_ICE1712,