}
/*
- * SPDIF I/O capabilities (half-duplex mode)
+ * SPDIF I/O capabilites (half-duplex mode)
*/
static struct snd_pcm_hardware snd_rme32_spdif_info = {
.info = (SNDRV_PCM_INFO_MMAP_IOMEM |
};
/*
- * ADAT I/O capabilities (half-duplex mode)
+ * ADAT I/O capabilites (half-duplex mode)
*/
static struct snd_pcm_hardware snd_rme32_adat_info =
{
};
/*
- * SPDIF I/O capabilities (full-duplex mode)
+ * SPDIF I/O capabilites (full-duplex mode)
*/
static struct snd_pcm_hardware snd_rme32_spdif_fd_info = {
.info = (SNDRV_PCM_INFO_MMAP |
};
/*
- * ADAT I/O capabilities (full-duplex mode)
+ * ADAT I/O capabilites (full-duplex mode)
*/
static struct snd_pcm_hardware snd_rme32_adat_fd_info =
{
return err;
rme32->port = pci_resource_start(rme32->pci, 0);
+ if (request_irq(pci->irq, snd_rme32_interrupt, SA_INTERRUPT | SA_SHIRQ, "RME32", (void *) rme32)) {
+ snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq);
+ return -EBUSY;
+ }
+ rme32->irq = pci->irq;
+
if ((rme32->iobase = ioremap_nocache(rme32->port, RME32_IO_SIZE)) == 0) {
snd_printk(KERN_ERR "unable to remap memory region 0x%lx-0x%lx\n",
rme32->port, rme32->port + RME32_IO_SIZE - 1);
return -ENOMEM;
}
- if (request_irq(pci->irq, snd_rme32_interrupt, IRQF_DISABLED | IRQF_SHARED, "RME32", (void *) rme32)) {
- snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq);
- return -EBUSY;
- }
- rme32->irq = pci->irq;
-
/* read the card's revision number */
pci_read_config_byte(pci, 8, &rme32->rev);
struct snd_info_entry *entry;
if (! snd_card_proc_new(rme32->card, "rme32", &entry))
- snd_info_set_text_ops(entry, rme32, snd_rme32_proc_read);
+ snd_info_set_text_ops(entry, rme32, 1024, snd_rme32_proc_read);
}
/*