summaryrefslogtreecommitdiffstats
path: root/sound/isa/msnd
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-03-05 14:26:37 +0300
committerTakashi Iwai <tiwai@suse.de>2015-03-05 13:02:10 +0100
commit096a020a9ef5c947577d3b57199bfc9b7e686b49 (patch)
tree2b40eabd57b0394832759bef317bbbb4479fbae6 /sound/isa/msnd
parent8cdebf71098c07168ef6335e2f1f35d85dbe3049 (diff)
downloadlinux-096a020a9ef5c947577d3b57199bfc9b7e686b49.tar.bz2
ALSA: msnd: add some missing curly braces
There were some curly braces intended here. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/msnd')
-rw-r--r--sound/isa/msnd/msnd_pinnacle_mixer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/isa/msnd/msnd_pinnacle_mixer.c b/sound/isa/msnd/msnd_pinnacle_mixer.c
index 17e49a071af4..b408540798c1 100644
--- a/sound/isa/msnd/msnd_pinnacle_mixer.c
+++ b/sound/isa/msnd/msnd_pinnacle_mixer.c
@@ -306,11 +306,12 @@ int snd_msndmix_new(struct snd_card *card)
spin_lock_init(&chip->mixer_lock);
strcpy(card->mixername, "MSND Pinnacle Mixer");
- for (idx = 0; idx < ARRAY_SIZE(snd_msnd_controls); idx++)
+ for (idx = 0; idx < ARRAY_SIZE(snd_msnd_controls); idx++) {
err = snd_ctl_add(card,
snd_ctl_new1(snd_msnd_controls + idx, chip));
if (err < 0)
return err;
+ }
return 0;
}