diff options
Diffstat (limited to 'sound/pci/als4000.c')
-rw-r--r-- | sound/pci/als4000.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/als4000.c b/sound/pci/als4000.c index 7b2ff5f4672e..100d8127a411 100644 --- a/sound/pci/als4000.c +++ b/sound/pci/als4000.c | |||
@@ -70,6 +70,7 @@ | |||
70 | #include <linux/slab.h> | 70 | #include <linux/slab.h> |
71 | #include <linux/gameport.h> | 71 | #include <linux/gameport.h> |
72 | #include <linux/moduleparam.h> | 72 | #include <linux/moduleparam.h> |
73 | #include <linux/dma-mapping.h> | ||
73 | #include <sound/core.h> | 74 | #include <sound/core.h> |
74 | #include <sound/pcm.h> | 75 | #include <sound/pcm.h> |
75 | #include <sound/rawmidi.h> | 76 | #include <sound/rawmidi.h> |
@@ -688,8 +689,8 @@ static int __devinit snd_card_als4000_probe(struct pci_dev *pci, | |||
688 | return err; | 689 | return err; |
689 | } | 690 | } |
690 | /* check, if we can restrict PCI DMA transfers to 24 bits */ | 691 | /* check, if we can restrict PCI DMA transfers to 24 bits */ |
691 | if (pci_set_dma_mask(pci, 0x00ffffff) < 0 || | 692 | if (pci_set_dma_mask(pci, DMA_24BIT_MASK) < 0 || |
692 | pci_set_consistent_dma_mask(pci, 0x00ffffff) < 0) { | 693 | pci_set_consistent_dma_mask(pci, DMA_24BIT_MASK) < 0) { |
693 | snd_printk(KERN_ERR "architecture does not support 24bit PCI busmaster DMA\n"); | 694 | snd_printk(KERN_ERR "architecture does not support 24bit PCI busmaster DMA\n"); |
694 | pci_disable_device(pci); | 695 | pci_disable_device(pci); |
695 | return -ENXIO; | 696 | return -ENXIO; |