]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - sound/pci/es1968.c
ALSA: mpu401: clean up interrupt specification
[linux-imx.git] / sound / pci / es1968.c
index 99ea9320c6b5592ac22ca11cdce0a9347ca37f37..407e4abc43568ee4e728f77b72ee39a645ebee23 100644 (file)
@@ -2843,8 +2843,9 @@ static int __devinit snd_es1968_probe(struct pci_dev *pci,
        if (enable_mpu[dev]) {
                if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401,
                                               chip->io_port + ESM_MPU401_PORT,
-                                              MPU401_INFO_INTEGRATED,
-                                              chip->irq, 0, &chip->rmidi)) < 0) {
+                                              MPU401_INFO_INTEGRATED |
+                                              MPU401_INFO_IRQ_HOOK,
+                                              -1, &chip->rmidi)) < 0) {
                        printk(KERN_WARNING "es1968: skipping MPU-401 MIDI support..\n");
                }
        }