aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2010-01-20 19:03:22 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 15:10:55 -0300
commitace30f74ac1b3f20ab8f98995510a5e0d643c42c (patch)
tree6d40166983a46be7cee57070952901a40586dbb2 /drivers
parentb1ec9532341fafacfce8b1951c5f388eae014e16 (diff)
V4L/DVB: ngene: Take care of late interrupts
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/ngene/ngene-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/ngene/ngene-core.c b/drivers/media/dvb/ngene/ngene-core.c
index fd665912dec..389204b7df1 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;
}
/****************************************************************************/