mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
[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>
This commit is contained in:
parent
1c02e36681
commit
88aa139057
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue