]> err.no Git - linux-2.6/commit
[ALSA] emu10k1 - Fix handling of ac97_chip=2
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Oct 2005 11:49:32 +0000 (13:49 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 7 Oct 2005 12:46:34 +0000 (14:46 +0200)
commitb150869369adafb7cc0cf65ea500f9f3c4bbf857
tree84ec5cce59978d59cacc5860008a7a7997551f69
parent315e3bd717068624ce888f3d045a168acefc6ce8
[ALSA] emu10k1 - Fix handling of ac97_chip=2

EMU10K1/EMU10K2 driver
Fixed the handling of ac97_chip=2 capability type.
The error occurs in snd_ac97_mixer(), not in snd_ac97_bus().
Also, release the unnecessary ac97_bus object in the error path.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emumixer.c