diff options
Diffstat (limited to 'sound/pci/mixart/mixart.c')
-rw-r--r-- | sound/pci/mixart/mixart.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c index e79fb264532b..43ee3b2b948f 100644 --- a/sound/pci/mixart/mixart.c +++ b/sound/pci/mixart/mixart.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <linux/interrupt.h> | 26 | #include <linux/interrupt.h> |
27 | #include <linux/pci.h> | 27 | #include <linux/pci.h> |
28 | #include <linux/dma-mapping.h> | ||
28 | #include <linux/moduleparam.h> | 29 | #include <linux/moduleparam.h> |
29 | #include <linux/mutex.h> | 30 | #include <linux/mutex.h> |
30 | #include <sound/core.h> | 31 | #include <sound/core.h> |
@@ -1289,7 +1290,7 @@ static int __devinit snd_mixart_probe(struct pci_dev *pci, | |||
1289 | pci_set_master(pci); | 1290 | pci_set_master(pci); |
1290 | 1291 | ||
1291 | /* check if we can restrict PCI DMA transfers to 32 bits */ | 1292 | /* check if we can restrict PCI DMA transfers to 32 bits */ |
1292 | if (pci_set_dma_mask(pci, 0xffffffff) < 0) { | 1293 | if (pci_set_dma_mask(pci, DMA_32BIT_MASK) < 0) { |
1293 | snd_printk(KERN_ERR "architecture does not support 32bit PCI busmaster DMA\n"); | 1294 | snd_printk(KERN_ERR "architecture does not support 32bit PCI busmaster DMA\n"); |
1294 | pci_disable_device(pci); | 1295 | pci_disable_device(pci); |
1295 | return -ENXIO; | 1296 | return -ENXIO; |