提交 13d5036e 编写于 作者: M Manu Abraham 提交者: Mauro Carvalho Chehab

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

Signed-off-by: NManu Abraham <manu@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 ff63ac56
......@@ -181,8 +181,11 @@ static int __devinit mantis_pci_probe(struct pci_dev *pdev,
// Clear and disable all interrupts at startup
// to avoid lockup situations
mmwrite(0x00, MANTIS_INT_MASK);
if (request_irq(pdev->irq, mantis_pci_irq, IRQF_SHARED | IRQF_DISABLED,
DRIVER_NAME, mantis) < 0) {
if (request_irq(pdev->irq,
mantis_pci_irq,
IRQF_SHARED,
DRIVER_NAME,
mantis) < 0) {
dprintk(verbose, MANTIS_ERROR, 1, "Mantis IRQ reg failed");
ret = -ENODEV;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册