diff options
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/manage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 76c8eda67295..19b438e09f12 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -123,7 +123,8 @@ void enable_irq(unsigned int irq) | |||
123 | desc->status = status; | 123 | desc->status = status; |
124 | if ((status & (IRQ_PENDING | IRQ_REPLAY)) == IRQ_PENDING) { | 124 | if ((status & (IRQ_PENDING | IRQ_REPLAY)) == IRQ_PENDING) { |
125 | desc->status = status | IRQ_REPLAY; | 125 | desc->status = status | IRQ_REPLAY; |
126 | hw_resend_irq(desc->chip,irq); | 126 | if (desc->chip && desc->chip->retrigger) |
127 | desc->chip->retrigger(irq); | ||
127 | } | 128 | } |
128 | desc->chip->enable(irq); | 129 | desc->chip->enable(irq); |
129 | /* fall-through */ | 130 | /* fall-through */ |