aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/au88x0/au88x0.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-01-17 13:48:13 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-17 13:48:13 -0500
commitd3569d163cba40f9c5682df083dbed3f049478a4 (patch)
tree1a473b4378d3184859424b2bd1389f3d46083fec /sound/pci/au88x0/au88x0.c
parent20c300b10c358daa507be335aec6aa3987ef425a (diff)
parentf0e48b6bd4e407459715240cd241ddb6b89bdf81 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ALSA: virtuoso: Xonar DS: fix polarity of front output ALSA: Au88x0 - Reduce the number of playback subdevices of au8830 from 32 to 16 ALSA: Au88x0 - Support 4 channels playback when AC97 codecs has SDAC bit ALSA: HDA: Fix internal microphone on Dell Studio 16 XPS 1645 ALSA: Don't prompt for CONFIG_SND_COMPRESS_OFFLOAD ALSA: HDA: Use LPIB position fix for Macbook Pro 7,1
Diffstat (limited to 'sound/pci/au88x0/au88x0.c')
-rw-r--r--sound/pci/au88x0/au88x0.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/sound/pci/au88x0/au88x0.c b/sound/pci/au88x0/au88x0.c
index 762bb108c51c..f13ad536b2d5 100644
--- a/sound/pci/au88x0/au88x0.c
+++ b/sound/pci/au88x0/au88x0.c
@@ -268,8 +268,14 @@ 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 err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_PCM);
278 if (err < 0) {
273 snd_card_free(card); 279 snd_card_free(card);
274 return err; 280 return err;
275 } 281 }
@@ -299,11 +305,6 @@ snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
299 return err; 305 return err;
300 } 306 }
301#endif 307#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) { 308 if ((err = snd_vortex_midi(chip)) < 0) {
308 snd_card_free(card); 309 snd_card_free(card);
309 return err; 310 return err;