Commit 13d5036e authored by Manu Abraham's avatar Manu Abraham Committed by Mauro Carvalho Chehab

V4L/DVB (13785): [Mantis] Do not disable IRQ's while being invoked

Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent ff63ac56
...@@ -181,8 +181,11 @@ static int __devinit mantis_pci_probe(struct pci_dev *pdev, ...@@ -181,8 +181,11 @@ static int __devinit mantis_pci_probe(struct pci_dev *pdev,
// Clear and disable all interrupts at startup // Clear and disable all interrupts at startup
// to avoid lockup situations // to avoid lockup situations
mmwrite(0x00, MANTIS_INT_MASK); mmwrite(0x00, MANTIS_INT_MASK);
if (request_irq(pdev->irq, mantis_pci_irq, IRQF_SHARED | IRQF_DISABLED, if (request_irq(pdev->irq,
DRIVER_NAME, mantis) < 0) { mantis_pci_irq,
IRQF_SHARED,
DRIVER_NAME,
mantis) < 0) {
dprintk(verbose, MANTIS_ERROR, 1, "Mantis IRQ reg failed"); dprintk(verbose, MANTIS_ERROR, 1, "Mantis IRQ reg failed");
ret = -ENODEV; ret = -ENODEV;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment