Skip to content

Commit

Permalink
[ALSA] Disable MPU401 on SIS7018
Browse files Browse the repository at this point in the history
Trident driver
Disable MPU401 support on SIS7018 since it results in kernel freeze.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jun 22, 2005
1 parent 41e41f1 commit 1ccc67d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sound/pci/trident/trident.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ static int __devinit snd_trident_probe(struct pci_dev *pci,
return err;
}
}
if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_TRID4DWAVE,
if (trident->device != TRIDENT_DEVICE_ID_SI7018 &&
(err = snd_mpu401_uart_new(card, 0, MPU401_HW_TRID4DWAVE,
trident->midi_port, 1,
trident->irq, 0, &trident->rmidi)) < 0) {
snd_card_free(card);
Expand Down

0 comments on commit 1ccc67d

Please sign in to comment.