Skip to content

Commit

Permalink
ALSA: msnd: add some missing curly braces
Browse files Browse the repository at this point in the history
There were some curly braces intended here.

Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
Dan Carpenter authored and tiwai committed Mar 5, 2015
1 parent 8cdebf7 commit 096a020
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sound/isa/msnd/msnd_pinnacle_mixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 096a020

Please sign in to comment.