]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/media/pci/cx88/cx88-alsa.c
cx88: use pci_set_dma_mask insted of pci_dma_supported
[karo-tx-linux.git] / drivers / media / pci / cx88 / cx88-alsa.c
index 57ddf8a34178dcb5c9884c9bff61b4c9a1cf5a90..0ed1b65303746d3b5129997dc37dd00cbe784716 100644 (file)
@@ -890,7 +890,7 @@ static int snd_cx88_create(struct snd_card *card, struct pci_dev *pci,
                return err;
        }
 
-       if (!pci_dma_supported(pci,DMA_BIT_MASK(32))) {
+       if (!pci_set_dma_mask(pci,DMA_BIT_MASK(32))) {
                dprintk(0, "%s/1: Oops: no 32bit PCI DMA ???\n",core->name);
                err = -EIO;
                cx88_core_put(core, pci);