Skip to content

Commit

Permalink
[ALSA] emu10k1 - Don't create emu1010 controls for non-emu boards
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
tiwai authored and Mercurial server committed Jan 31, 2008
1 parent 1c02e36 commit 88aa139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/emu10k1/emumixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -2026,7 +2026,7 @@ int __devinit snd_emu10k1_mixer(struct snd_emu10k1 *emu,
if (err < 0)
return err;

} else {
} else if (emu->card_capabilities->emu_model) {
/* all other e-mu cards for now */
int i;

Expand Down

0 comments on commit 88aa139

Please sign in to comment.