summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2010-01-20 23:03:22 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 19:10:55 +0100
commitace30f74ac1b3f20ab8f98995510a5e0d643c42c (patch)
tree6d40166983a46be7cee57070952901a40586dbb2 /drivers
parentV4L/DVB: ngene: Workaround for command timeout (diff)
downloadlinux-ace30f74ac1b3f20ab8f98995510a5e0d643c42c.tar.xz
linux-ace30f74ac1b3f20ab8f98995510a5e0d643c42c.zip
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 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;
}
/****************************************************************************/