]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - sound/pci/maestro3.c
ALSA: mpu401: clean up interrupt specification
[linux-imx.git] / sound / pci / maestro3.c
index 0378126e6272b2b5e59d725d26bb627452abb364..2fd4bf2d6653dbba8015a440de385c198afe8a7f 100644 (file)
@@ -2820,8 +2820,8 @@ snd_m3_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
        /* TODO enable MIDI IRQ and I/O */
        err = snd_mpu401_uart_new(chip->card, 0, MPU401_HW_MPU401,
                                  chip->iobase + MPU401_DATA_PORT,
-                                 MPU401_INFO_INTEGRATED,
-                                 chip->irq, 0, &chip->rmidi);
+                                 MPU401_INFO_INTEGRATED | MPU401_INFO_IRQ_HOOK,
+                                 -1, &chip->rmidi);
        if (err < 0)
                printk(KERN_WARNING "maestro3: no MIDI support.\n");
 #endif