mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[PATCH] genirq: fix typo in IRQ resend
Fix a bug where the IRQ_PENDING flag is never cleared and the ISR is called endlessly without an actual interrupt. Signed-off-by: Imre Deak <imre.deak@solidboot.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
63b98080da
commit
e1ed7ac77b
1 changed files with 1 additions and 2 deletions
|
@ -63,8 +63,7 @@ void check_irq_resend(struct irq_desc *desc, unsigned int irq)
|
|||
desc->chip->enable(irq);
|
||||
|
||||
if ((status & (IRQ_PENDING | IRQ_REPLAY)) == IRQ_PENDING) {
|
||||
desc->status &= ~IRQ_PENDING;
|
||||
desc->status = status | IRQ_REPLAY;
|
||||
desc->status = (status & ~IRQ_PENDING) | IRQ_REPLAY;
|
||||
|
||||
if (!desc->chip || !desc->chip->retrigger ||
|
||||
!desc->chip->retrigger(irq)) {
|
||||
|
|
Loading…
Reference in a new issue