aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-12-21 10:20:12 -0500
committerMercurial server <hg@alsa0.alsa-project.org>2008-01-31 11:30:24 -0500
commit88aa139057f2740c5dd55e2a542b2425186e4d3c (patch)
treedc426e5f03be429c0a428351a6b0883da9173b5e
parent1c02e36681ae20a796204e8d629d13fa9d5e20b5 (diff)
[ALSA] emu10k1 - Don't create emu1010 controls for non-emu boards
The last change for emu1616 introduced a bug that the driver creates emu1010-related controls even on non-emu boards. Fixed now. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r--sound/pci/emu10k1/emumixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/emu10k1/emumixer.c b/sound/pci/emu10k1/emumixer.c
index 9b5883b79578..7ebf035b6b08 100644
--- a/sound/pci/emu10k1/emumixer.c
+++ b/sound/pci/emu10k1/emumixer.c
@@ -2026,7 +2026,7 @@ int __devinit snd_emu10k1_mixer(struct snd_emu10k1 *emu,
2026 if (err < 0) 2026 if (err < 0)
2027 return err; 2027 return err;
2028 2028
2029 } else { 2029 } else if (emu->card_capabilities->emu_model) {
2030 /* all other e-mu cards for now */ 2030 /* all other e-mu cards for now */
2031 int i; 2031 int i;
2032 2032