aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/pcxhr/pcxhr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/pcxhr/pcxhr.c')
-rw-r--r--sound/pci/pcxhr/pcxhr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/pcxhr/pcxhr.c b/sound/pci/pcxhr/pcxhr.c
index 31a3e8e1b234..f679779d96e3 100644
--- a/sound/pci/pcxhr/pcxhr.c
+++ b/sound/pci/pcxhr/pcxhr.c
@@ -26,6 +26,7 @@
26#include <linux/interrupt.h> 26#include <linux/interrupt.h>
27#include <linux/slab.h> 27#include <linux/slab.h>
28#include <linux/pci.h> 28#include <linux/pci.h>
29#include <linux/dma-mapping.h>
29#include <linux/delay.h> 30#include <linux/delay.h>
30#include <linux/moduleparam.h> 31#include <linux/moduleparam.h>
31#include <linux/mutex.h> 32#include <linux/mutex.h>
@@ -1217,7 +1218,7 @@ static int __devinit pcxhr_probe(struct pci_dev *pci, const struct pci_device_id
1217 pci_set_master(pci); 1218 pci_set_master(pci);
1218 1219
1219 /* check if we can restrict PCI DMA transfers to 32 bits */ 1220 /* check if we can restrict PCI DMA transfers to 32 bits */
1220 if (pci_set_dma_mask(pci, 0xffffffff) < 0) { 1221 if (pci_set_dma_mask(pci, DMA_32BIT_MASK) < 0) {
1221 snd_printk(KERN_ERR "architecture does not support 32bit PCI busmaster DMA\n"); 1222 snd_printk(KERN_ERR "architecture does not support 32bit PCI busmaster DMA\n");
1222 pci_disable_device(pci); 1223 pci_disable_device(pci);
1223 return -ENXIO; 1224 return -ENXIO;