Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 096a020a authored by Dan Carpenter's avatar Dan Carpenter Committed by Takashi Iwai
Browse files

ALSA: msnd: add some missing curly braces



There were some curly braces intended here.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 8cdebf71
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
}