V4L/DVB: ngene: Take care of late interrupts
authorOliver Endriss <o.endriss@gmx.de>
Wed, 20 Jan 2010 22:03:22 +0000 (19:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:55 +0000 (15:10 -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 fd665912dec33a501bcd61c095ad52a12bf7a0d8..389204b7df11f284815538c851cef6d716652634 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;
 }
 
 /****************************************************************************/