From: Oliver Endriss Date: Wed, 20 Jan 2010 22:03:22 +0000 (-0300) Subject: V4L/DVB: ngene: Take care of late interrupts X-Git-Tag: v2.6.34-rc1~280^2~118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ace30f74ac1b3f20ab8f98995510a5e0d643c42c;p=platform%2Fkernel%2Flinux-3.10.git V4L/DVB: ngene: Take care of late interrupts Request might already have been processed when the interrupt arrives. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/ngene/ngene-core.c b/drivers/media/dvb/ngene/ngene-core.c index fd66591..389204b 100644 --- a/drivers/media/dvb/ngene/ngene-core.c +++ b/drivers/media/dvb/ngene/ngene-core.c @@ -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; } /****************************************************************************/