diff options
Diffstat (limited to 'sound/pci/rme9652/hdsp.c')
-rw-r--r-- | sound/pci/rme9652/hdsp.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index 694aa057ed49..6383987b460e 100644 --- a/sound/pci/rme9652/hdsp.c +++ b/sound/pci/rme9652/hdsp.c | |||
@@ -3516,8 +3516,8 @@ static int __devinit snd_hdsp_initialize_memory(struct hdsp *hdsp) | |||
3516 | 3516 | ||
3517 | /* Align to bus-space 64K boundary */ | 3517 | /* Align to bus-space 64K boundary */ |
3518 | 3518 | ||
3519 | cb_bus = (hdsp->capture_dma_buf.addr + 0xFFFF) & ~0xFFFFl; | 3519 | cb_bus = ALIGN(hdsp->capture_dma_buf.addr, 0x10000ul); |
3520 | pb_bus = (hdsp->playback_dma_buf.addr + 0xFFFF) & ~0xFFFFl; | 3520 | pb_bus = ALIGN(hdsp->playback_dma_buf.addr, 0x10000ul); |
3521 | 3521 | ||
3522 | /* Tell the card where it is */ | 3522 | /* Tell the card where it is */ |
3523 | 3523 | ||
@@ -4934,13 +4934,14 @@ static int __devinit snd_hdsp_create(struct snd_card *card, | |||
4934 | return -EBUSY; | 4934 | return -EBUSY; |
4935 | } | 4935 | } |
4936 | 4936 | ||
4937 | if (request_irq(pci->irq, snd_hdsp_interrupt, IRQF_DISABLED|IRQF_SHARED, "hdsp", (void *)hdsp)) { | 4937 | if (request_irq(pci->irq, snd_hdsp_interrupt, IRQF_SHARED, |
4938 | "hdsp", hdsp)) { | ||
4938 | snd_printk(KERN_ERR "Hammerfall-DSP: unable to use IRQ %d\n", pci->irq); | 4939 | snd_printk(KERN_ERR "Hammerfall-DSP: unable to use IRQ %d\n", pci->irq); |
4939 | return -EBUSY; | 4940 | return -EBUSY; |
4940 | } | 4941 | } |
4941 | 4942 | ||
4942 | hdsp->irq = pci->irq; | 4943 | hdsp->irq = pci->irq; |
4943 | hdsp->precise_ptr = 1; | 4944 | hdsp->precise_ptr = 0; |
4944 | hdsp->use_midi_tasklet = 1; | 4945 | hdsp->use_midi_tasklet = 1; |
4945 | 4946 | ||
4946 | if ((err = snd_hdsp_initialize_memory(hdsp)) < 0) | 4947 | if ((err = snd_hdsp_initialize_memory(hdsp)) < 0) |