]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pci/aw2/aw2-alsa.c
dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
[linux-2.6-omap-h63xx.git] / sound / pci / aw2 / aw2-alsa.c
index 8eea29fc42fe8b7d56769ba9d40de84f38fc400f..4d34bb0d99d327120dde4bf5bea211f98a30105a 100644 (file)
@@ -279,8 +279,8 @@ static int __devinit snd_aw2_create(struct snd_card *card,
        pci_set_master(pci);
 
        /* check PCI availability (32bit DMA) */
-       if ((pci_set_dma_mask(pci, DMA_32BIT_MASK) < 0) ||
-           (pci_set_consistent_dma_mask(pci, DMA_32BIT_MASK) < 0)) {
+       if ((pci_set_dma_mask(pci, DMA_BIT_MASK(32)) < 0) ||
+           (pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(32)) < 0)) {
                printk(KERN_ERR "aw2: Impossible to set 32bit mask DMA\n");
                pci_disable_device(pci);
                return -ENXIO;