diff options
author | Oliver Endriss <o.endriss@gmx.de> | 2010-01-20 19:03:22 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 15:10:55 -0300 |
commit | ace30f74ac1b3f20ab8f98995510a5e0d643c42c (patch) | |
tree | 6d40166983a46be7cee57070952901a40586dbb2 /drivers/media/dvb/ngene | |
parent | b1ec9532341fafacfce8b1951c5f388eae014e16 (diff) | |
download | lwn-ace30f74ac1b3f20ab8f98995510a5e0d643c42c.tar.gz lwn-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/media/dvb/ngene')
-rw-r--r-- | drivers/media/dvb/ngene/ngene-core.c | 3 |
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; } /****************************************************************************/ |