aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ca0106/ca0106_main.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-03-24 11:48:30 -0500
committerJaroslav Kysela <perex@suse.cz>2005-05-29 03:00:18 -0400
commit36c4dc42249e96f0b0ddc90ca400bcb3981dbc62 (patch)
tree64ab200ef36d9719a14f667d26ec969d7918dd89 /sound/pci/ca0106/ca0106_main.c
parentc301098233bdbaae369bfdd98207db916df8cef2 (diff)
[ALSA] Skip ac97 SPDIF controls
CA0106 driver Skip building ac97 SPDIF controls via AC97_SCAP_NO_SPDIF. Clean up the code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ca0106/ca0106_main.c')
-rw-r--r--sound/pci/ca0106/ca0106_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/ca0106/ca0106_main.c b/sound/pci/ca0106/ca0106_main.c
index 82533b45bc8c..901e42bdc8bd 100644
--- a/sound/pci/ca0106/ca0106_main.c
+++ b/sound/pci/ca0106/ca0106_main.c
@@ -810,6 +810,7 @@ static int snd_ca0106_ac97(ca0106_t *chip)
810 810
811 memset(&ac97, 0, sizeof(ac97)); 811 memset(&ac97, 0, sizeof(ac97));
812 ac97.private_data = chip; 812 ac97.private_data = chip;
813 ac97.scaps = AC97_SCAP_NO_SPDIF;
813 return snd_ac97_mixer(pbus, &ac97, &chip->ac97); 814 return snd_ac97_mixer(pbus, &ac97, &chip->ac97);
814} 815}
815 816