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>
This commit is contained in:
parent
8cdebf7109
commit
096a020a9e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue