mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue