V4L/DVB: ngene: Take care of late interrupts
Oliver Endriss [Wed, 20 Jan 2010 22:03:22 +0000 (19:03 -0300)]
Request might already have been processed when the interrupt arrives.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

drivers/media/dvb/ngene/ngene-core.c

index fd66591..389204b 100644 (file)
@@ -253,7 +253,8 @@ static irqreturn_t irq_handler(int irq, void *dev_id)
                spin_unlock(&dev->channel[i].state_lock);
        }
 
-       return rc;
+       /* Request might have been processed by a previous call. */
+       return IRQ_HANDLED;
 }
 
 /****************************************************************************/