Merge branch 'for-linus' into for-next
Merging the HD-audio fixes back to base devel branch for further working on it.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user