aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/ngene
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2010-01-20 17:03:22 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 13:10:55 -0500
commitace30f74ac1b3f20ab8f98995510a5e0d643c42c (patch)
tree6d40166983a46be7cee57070952901a40586dbb2 /drivers/media/dvb/ngene
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/media/dvb/ngene')
-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)
253 spin_unlock(&dev->channel[i].state_lock); 253 spin_unlock(&dev->channel[i].state_lock);
254 } 254 }
255 255
256 return rc; 256 /* Request might have been processed by a previous call. */
257 return IRQ_HANDLED;
257} 258}
258 259
259/****************************************************************************/ 260/****************************************************************************/