diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-video.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-video.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c index bdfe2af70124..fbce1d50578b 100644 --- a/drivers/media/video/cx88/cx88-video.c +++ b/drivers/media/video/cx88/cx88-video.c | |||
@@ -1555,7 +1555,8 @@ static void cx8800_vid_irq(struct cx8800_dev *dev) | |||
1555 | cx_write(MO_VID_INTSTAT, status); | 1555 | cx_write(MO_VID_INTSTAT, status); |
1556 | if (irq_debug || (status & mask & ~0xff)) | 1556 | if (irq_debug || (status & mask & ~0xff)) |
1557 | cx88_print_irqbits(core->name, "irq vid", | 1557 | cx88_print_irqbits(core->name, "irq vid", |
1558 | cx88_vid_irqs, status, mask); | 1558 | cx88_vid_irqs, ARRAY_SIZE(cx88_vid_irqs), |
1559 | status, mask); | ||
1559 | 1560 | ||
1560 | /* risc op code error */ | 1561 | /* risc op code error */ |
1561 | if (status & (1 << 16)) { | 1562 | if (status & (1 << 16)) { |
@@ -1778,7 +1779,7 @@ static int __devinit cx8800_initdev(struct pci_dev *pci_dev, | |||
1778 | 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)); |
1779 | 1780 | ||
1780 | pci_set_master(pci_dev); | 1781 | pci_set_master(pci_dev); |
1781 | if (!pci_dma_supported(pci_dev,0xffffffff)) { | 1782 | if (!pci_dma_supported(pci_dev,DMA_32BIT_MASK)) { |
1782 | printk("%s/0: Oops: no 32bit PCI DMA ???\n",core->name); | 1783 | printk("%s/0: Oops: no 32bit PCI DMA ???\n",core->name); |
1783 | err = -EIO; | 1784 | err = -EIO; |
1784 | goto fail_core; | 1785 | goto fail_core; |