mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
V4L/DVB (13785): [Mantis] Do not disable IRQ's while being invoked
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
ff63ac5670
commit
13d5036ea0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user