[ALSA] oxygen: make AC97 codec optional
authorClemens Ladisch <clemens@ladisch.de>
Wed, 16 Jan 2008 07:28:17 +0000 (08:28 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:59 +0000 (17:29 +0100)
commit31c77643a06313b3a26f4c38c75ceec2a89ad31a
treeb38b6be831ebf4ebd20df512b1544938a3cbd224
parent12b74c80cc20dec27b9f9eeb24ee86170c34e5a1
[ALSA] oxygen: make AC97 codec optional

Only initialize and create mixer controls for the first AC97 codec when
one has actually been detected.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/oxygen/oxygen.h
sound/pci/oxygen/oxygen_lib.c
sound/pci/oxygen/oxygen_mixer.c
sound/pci/oxygen/oxygen_pcm.c