Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202085
b: refs/heads/master
c: e38030f
h: refs/heads/master
i:
  202083: 9357fa9
v: v3
  • Loading branch information
Kusanagi Kouichi authored and Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 3237645 commit 58818bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b48592e496e55e4e3e6e7f27d5ba3a229a1db7a6
refs/heads/master: e38030f3ff02684eb9e25e983a03ad318a10a2ea
9 changes: 7 additions & 2 deletions trunk/drivers/media/video/cx23885/cx23885-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1953,8 +1953,12 @@ static int __devinit cx23885_initdev(struct pci_dev *pci_dev,
goto fail_irq;
}

err = request_irq(pci_dev->irq, cx23885_irq,
IRQF_SHARED | IRQF_DISABLED, dev->name, dev);
if (!pci_enable_msi(pci_dev))
err = request_irq(pci_dev->irq, cx23885_irq,
IRQF_DISABLED, dev->name, dev);
else
err = request_irq(pci_dev->irq, cx23885_irq,
IRQF_SHARED | IRQF_DISABLED, dev->name, dev);
if (err < 0) {
printk(KERN_ERR "%s: can't get IRQ %d\n",
dev->name, pci_dev->irq);
Expand Down Expand Up @@ -2000,6 +2004,7 @@ static void __devexit cx23885_finidev(struct pci_dev *pci_dev)

/* unregister stuff */
free_irq(pci_dev->irq, dev);
pci_disable_msi(pci_dev);

cx23885_dev_unregister(dev);
v4l2_device_unregister(v4l2_dev);
Expand Down

0 comments on commit 58818bf

Please sign in to comment.