[ALSA] oxygen: use SPDIF input only if present
commit1d98c7d4be6ac521e3391025ddffcfe0400c798c
authorClemens Ladisch <clemens@ladisch.de>
Wed, 9 Apr 2008 07:16:33 +0000 (9 09:16 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:32 +0000 (24 12:00 +0200)
treebaa410a35f6ef8b275cdb40aa56811f5fccf74a5
parent11864b4b84194b459fc20e0ec47906885bddb12e
[ALSA] oxygen: use SPDIF input only if present

If the card model does not have a digital input or an AC97 codec,
disable the respective interrupt and mixer controls.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/oxygen/hifier.c
sound/pci/oxygen/oxygen_lib.c
sound/pci/oxygen/oxygen_mixer.c
sound/pci/oxygen/virtuoso.c