Skip to content

Commit

Permalink
V4L/DVB: ngene: Take care of late interrupts
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oliver Endriss authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent b1ec953 commit ace30f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/dvb/ngene/ngene-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/****************************************************************************/
Expand Down

0 comments on commit ace30f7

Please sign in to comment.