aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/emu10k1/emumixer.c
diff options
context:
space:
mode:
authorJames Courtier-Dutton <James@superbug.co.uk>2005-12-04 12:03:03 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:30:15 -0500
commit19b99fbaed2e2971b756311435c67e84431d8515 (patch)
tree78f0c968f8bed1a5ce82edd00d793be6f3a73d4c /sound/pci/emu10k1/emumixer.c
parent481ba7727fa08deb389b5a2e550e04df24d3f37d (diff)
[ALSA] emu10k1: Partial support for Creative emu1212m
Modules: EMU10K1/EMU10K2 driver Distorted sound now comes from the Audio Out socket. Still more work to do. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Diffstat (limited to 'sound/pci/emu10k1/emumixer.c')
-rw-r--r--sound/pci/emu10k1/emumixer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/emu10k1/emumixer.c b/sound/pci/emu10k1/emumixer.c
index 98fb8139427..306fe4aa4aa 100644
--- a/sound/pci/emu10k1/emumixer.c
+++ b/sound/pci/emu10k1/emumixer.c
@@ -959,7 +959,9 @@ int __devinit snd_emu10k1_mixer(struct snd_emu10k1 *emu,
959 return err; 959 return err;
960 } 960 }
961 961
962 if (emu->audigy) { 962 if ( emu->card_capabilities->emu1212m) {
963 ; /* Disable the snd_audigy_spdif_shared_spdif */
964 } else if (emu->audigy) {
963 if ((kctl = snd_ctl_new1(&snd_audigy_shared_spdif, emu)) == NULL) 965 if ((kctl = snd_ctl_new1(&snd_audigy_shared_spdif, emu)) == NULL)
964 return -ENOMEM; 966 return -ENOMEM;
965 if ((err = snd_ctl_add(card, kctl))) 967 if ((err = snd_ctl_add(card, kctl)))