diff options
Diffstat (limited to 'sound/pci/sonicvibes.c')
-rw-r--r-- | sound/pci/sonicvibes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/sonicvibes.c b/sound/pci/sonicvibes.c index d989215f3556..7dc60ad4772e 100644 --- a/sound/pci/sonicvibes.c +++ b/sound/pci/sonicvibes.c | |||
@@ -1264,8 +1264,8 @@ static int __devinit snd_sonicvibes_create(struct snd_card *card, | |||
1264 | if ((err = pci_enable_device(pci)) < 0) | 1264 | if ((err = pci_enable_device(pci)) < 0) |
1265 | return err; | 1265 | return err; |
1266 | /* check, if we can restrict PCI DMA transfers to 24 bits */ | 1266 | /* check, if we can restrict PCI DMA transfers to 24 bits */ |
1267 | if (pci_set_dma_mask(pci, DMA_24BIT_MASK) < 0 || | 1267 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(24)) < 0 || |
1268 | pci_set_consistent_dma_mask(pci, DMA_24BIT_MASK) < 0) { | 1268 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(24)) < 0) { |
1269 | snd_printk(KERN_ERR "architecture does not support 24bit PCI busmaster DMA\n"); | 1269 | snd_printk(KERN_ERR "architecture does not support 24bit PCI busmaster DMA\n"); |
1270 | pci_disable_device(pci); | 1270 | pci_disable_device(pci); |
1271 | return -ENXIO; | 1271 | return -ENXIO; |