]> git.baikalelectronics.ru Git - kernel.git/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)
commit1a40e5afde8409ca2cc4f932b8e1f4e8230ff8d2
tree84ec5cce59978d59cacc5860008a7a7997551f69
parent81b21140083e0bb4b9c7cafc72380c9211cbf8c7
[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