diff options
Diffstat (limited to 'sound/pci/maestro3.c')
-rw-r--r-- | sound/pci/maestro3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c index 70141548f251..75283fbb4b3f 100644 --- a/sound/pci/maestro3.c +++ b/sound/pci/maestro3.c | |||
@@ -2530,8 +2530,8 @@ snd_m3_create(struct snd_card *card, struct pci_dev *pci, | |||
2530 | return -EIO; | 2530 | return -EIO; |
2531 | 2531 | ||
2532 | /* check, if we can restrict PCI DMA transfers to 28 bits */ | 2532 | /* check, if we can restrict PCI DMA transfers to 28 bits */ |
2533 | if (pci_set_dma_mask(pci, DMA_28BIT_MASK) < 0 || | 2533 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(28)) < 0 || |
2534 | pci_set_consistent_dma_mask(pci, DMA_28BIT_MASK) < 0) { | 2534 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(28)) < 0) { |
2535 | snd_printk(KERN_ERR "architecture does not support 28bit PCI busmaster DMA\n"); | 2535 | snd_printk(KERN_ERR "architecture does not support 28bit PCI busmaster DMA\n"); |
2536 | pci_disable_device(pci); | 2536 | pci_disable_device(pci); |
2537 | return -ENXIO; | 2537 | return -ENXIO; |