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.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 19b438e09f12..cffde4843897 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -118,15 +118,7 @@ void enable_irq(unsigned int irq)
118 WARN_ON(1); 118 WARN_ON(1);
119 break; 119 break;
120 case 1: { 120 case 1: {
121 unsigned int status = desc->status & ~IRQ_DISABLED; 121 check_irq_resend(desc, irq);
122
123 desc->status = status;
124 if ((status & (IRQ_PENDING | IRQ_REPLAY)) == IRQ_PENDING) {
125 desc->status = status | IRQ_REPLAY;
126 if (desc->chip && desc->chip->retrigger)
127 desc->chip->retrigger(irq);
128 }
129 desc->chip->enable(irq);
130 /* fall-through */ 122 /* fall-through */
131 } 123 }
132 default: 124 default: