提交 096a020a 编写于 作者: D Dan Carpenter 提交者: Takashi Iwai

ALSA: msnd: add some missing curly braces

There were some curly braces intended here.
Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 8cdebf71
...@@ -306,11 +306,12 @@ int snd_msndmix_new(struct snd_card *card) ...@@ -306,11 +306,12 @@ int snd_msndmix_new(struct snd_card *card)
spin_lock_init(&chip->mixer_lock); spin_lock_init(&chip->mixer_lock);
strcpy(card->mixername, "MSND Pinnacle Mixer"); 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, err = snd_ctl_add(card,
snd_ctl_new1(snd_msnd_controls + idx, chip)); snd_ctl_new1(snd_msnd_controls + idx, chip));
if (err < 0) if (err < 0)
return err; return err;
}
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册