aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r--drivers/media/video/cx88/cx88-alsa.c2
-rw-r--r--drivers/media/video/cx88/cx88-mpeg.c2
-rw-r--r--drivers/media/video/cx88/cx88-video.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/cx88/cx88-alsa.c b/drivers/media/video/cx88/cx88-alsa.c
index 5a8f18f8ddbb..6c22ec4b0836 100644
--- a/drivers/media/video/cx88/cx88-alsa.c
+++ b/drivers/media/video/cx88/cx88-alsa.c
@@ -683,7 +683,7 @@ static int __devinit snd_cx88_create(struct snd_card *card,
683 return err; 683 return err;
684 } 684 }
685 685
686 if (!pci_dma_supported(pci,0xffffffff)) { 686 if (!pci_dma_supported(pci,DMA_32BIT_MASK)) {
687 dprintk(0, "%s/1: Oops: no 32bit PCI DMA ???\n",core->name); 687 dprintk(0, "%s/1: Oops: no 32bit PCI DMA ???\n",core->name);
688 err = -EIO; 688 err = -EIO;
689 cx88_core_put(core,pci); 689 cx88_core_put(core,pci);
diff --git a/drivers/media/video/cx88/cx88-mpeg.c b/drivers/media/video/cx88/cx88-mpeg.c
index def939d435d5..b2eb32e01aee 100644
--- a/drivers/media/video/cx88/cx88-mpeg.c
+++ b/drivers/media/video/cx88/cx88-mpeg.c
@@ -449,7 +449,7 @@ int cx8802_init_common(struct cx8802_dev *dev)
449 if (pci_enable_device(dev->pci)) 449 if (pci_enable_device(dev->pci))
450 return -EIO; 450 return -EIO;
451 pci_set_master(dev->pci); 451 pci_set_master(dev->pci);
452 if (!pci_dma_supported(dev->pci,0xffffffff)) { 452 if (!pci_dma_supported(dev->pci,DMA_32BIT_MASK)) {
453 printk("%s/2: Oops: no 32bit PCI DMA ???\n",dev->core->name); 453 printk("%s/2: Oops: no 32bit PCI DMA ???\n",dev->core->name);
454 return -EIO; 454 return -EIO;
455 } 455 }
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c
index 5ae5c02644e9..fbce1d50578b 100644
--- a/drivers/media/video/cx88/cx88-video.c
+++ b/drivers/media/video/cx88/cx88-video.c
@@ -1779,7 +1779,7 @@ static int __devinit cx8800_initdev(struct pci_dev *pci_dev,
1779 dev->pci_lat,(unsigned long long)pci_resource_start(pci_dev,0)); 1779 dev->pci_lat,(unsigned long long)pci_resource_start(pci_dev,0));
1780 1780
1781 pci_set_master(pci_dev); 1781 pci_set_master(pci_dev);
1782 if (!pci_dma_supported(pci_dev,0xffffffff)) { 1782 if (!pci_dma_supported(pci_dev,DMA_32BIT_MASK)) {
1783 printk("%s/0: Oops: no 32bit PCI DMA ???\n",core->name); 1783 printk("%s/0: Oops: no 32bit PCI DMA ???\n",core->name);
1784 err = -EIO; 1784 err = -EIO;
1785 goto fail_core; 1785 goto fail_core;