ALSA: Au88x0 - Reduce the number of playback subdevices of au8830 from 32 to 16
[linux-2.6-block.git] / sound / pci / au88x0 / au88x0.c
index b8bc11556ed09ef39fd65f987601d70ade83b200..f13ad536b2d59fe19ab9826b5abc0c301d5133cf 100644 (file)
@@ -274,7 +274,8 @@ snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
                return err;
        }
        // ADB pcm.
-       if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_ADB)) < 0) {
+       err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_PCM);
+       if (err < 0) {
                snd_card_free(card);
                return err;
        }