diff options
Diffstat (limited to 'sound/pci/au88x0/au88x0.c')
-rw-r--r-- | sound/pci/au88x0/au88x0.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/pci/au88x0/au88x0.c b/sound/pci/au88x0/au88x0.c index 762bb108c51..b8bc11556ed 100644 --- a/sound/pci/au88x0/au88x0.c +++ b/sound/pci/au88x0/au88x0.c | |||
@@ -268,6 +268,11 @@ snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) | |||
268 | card->shortname, chip->io, chip->irq); | 268 | card->shortname, chip->io, chip->irq); |
269 | 269 | ||
270 | // (4) Alloc components. | 270 | // (4) Alloc components. |
271 | err = snd_vortex_mixer(chip); | ||
272 | if (err < 0) { | ||
273 | snd_card_free(card); | ||
274 | return err; | ||
275 | } | ||
271 | // ADB pcm. | 276 | // ADB pcm. |
272 | if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_ADB)) < 0) { | 277 | if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_ADB)) < 0) { |
273 | snd_card_free(card); | 278 | snd_card_free(card); |
@@ -299,11 +304,6 @@ snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) | |||
299 | return err; | 304 | return err; |
300 | } | 305 | } |
301 | #endif | 306 | #endif |
302 | // snd_ac97_mixer and Vortex mixer. | ||
303 | if ((err = snd_vortex_mixer(chip)) < 0) { | ||
304 | snd_card_free(card); | ||
305 | return err; | ||
306 | } | ||
307 | if ((err = snd_vortex_midi(chip)) < 0) { | 307 | if ((err = snd_vortex_midi(chip)) < 0) { |
308 | snd_card_free(card); | 308 | snd_card_free(card); |
309 | return err; | 309 | return err; |