]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pci/riptide/riptide.c
Pull percpu-dtc into release branch
[linux-2.6-omap-h63xx.git] / sound / pci / riptide / riptide.c
index 56e0c01123e70246433cdb0a34c5fb0459465175..952625dead58ef56973f48fbbe122cc63fd8a58e 100644 (file)
@@ -1899,9 +1899,8 @@ snd_riptide_create(struct snd_card *card, struct pci_dev *pci,
        hwport = (struct riptideport *)chip->port;
        UNSET_AIE(hwport);
 
-       if (request_irq
-           (pci->irq, snd_riptide_interrupt, IRQF_DISABLED | IRQF_SHARED,
-            "RIPTIDE", chip)) {
+       if (request_irq(pci->irq, snd_riptide_interrupt, IRQF_SHARED,
+                       "RIPTIDE", chip)) {
                snd_printk(KERN_ERR "Riptide: unable to grab IRQ %d\n",
                           pci->irq);
                snd_riptide_free(chip);
@@ -1920,6 +1919,8 @@ snd_riptide_create(struct snd_card *card, struct pci_dev *pci,
                return err;
        }
 
+       snd_card_set_dev(card, &pci->dev);
+
        *rchip = chip;
        return 0;
 }