From: Oliver Endriss Date: Wed, 20 Jan 2010 22:03:22 +0000 (-0300) Subject: V4L/DVB: ngene: Take care of late interrupts X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ace30f74ac1b3f20ab8f98995510a5e0d643c42c;p=openwrt%2Fstaging%2Fblogic.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 fd665912dec3..389204b7df11 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; } /****************************************************************************/