aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r--kernel/irq/manage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index dd4e5c21b9e7..abe852c9449d 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -897,8 +897,9 @@ __setup_irq(unsigned int irq, struct irq_desc *desc, struct irqaction *new)
897 desc->status |= IRQ_PER_CPU; 897 desc->status |= IRQ_PER_CPU;
898#endif 898#endif
899 899
900 desc->status &= ~(IRQ_AUTODETECT | IRQ_WAITING | IRQ_ONESHOT | 900 desc->status &= ~(IRQ_WAITING | IRQ_ONESHOT |
901 IRQ_INPROGRESS | IRQ_SPURIOUS_DISABLED); 901 IRQ_INPROGRESS | IRQ_SPURIOUS_DISABLED);
902 desc->istate &= ~IRQS_AUTODETECT;
902 903
903 if (new->flags & IRQF_ONESHOT) 904 if (new->flags & IRQF_ONESHOT)
904 desc->status |= IRQ_ONESHOT; 905 desc->status |= IRQ_ONESHOT;