Skip to content

Commit

Permalink
Staging: VME: Fix Universe II int ack logic.
Browse files Browse the repository at this point in the history
The driver must acknowledge the interrupts that have been actually serviced, not
the ones active. The current code could acknowledge an interrupt that has not
been serviced at all.

Signed-off-by: Vincent Bossier <vincent.bossier@gmail.com>
Acked-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Vincent Bossier authored and Greg Kroah-Hartman committed Jun 28, 2011
1 parent 584721c commit 56fc508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/vme/bridges/vme_ca91cx42.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ static irqreturn_t ca91cx42_irqhandler(int irq, void *ptr)
serviced |= ca91cx42_VIRQ_irqhandler(ca91cx42_bridge, stat);

/* Clear serviced interrupts */
iowrite32(stat, bridge->base + LINT_STAT);
iowrite32(serviced, bridge->base + LINT_STAT);

return IRQ_HANDLED;
}
Expand Down

0 comments on commit 56fc508

Please sign in to comment.