mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
Staging: VME: Fix Universe II int ack logic.
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>
This commit is contained in:
parent
584721cab2
commit
56fc508186
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue