diff options
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r-- | kernel/irq/manage.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index ae1b684e048c..9aa3e7b81389 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -397,10 +397,7 @@ int setup_irq(unsigned int irq, struct irqaction *new) | |||
397 | if (!(desc->status & IRQ_NOAUTOEN)) { | 397 | if (!(desc->status & IRQ_NOAUTOEN)) { |
398 | desc->depth = 0; | 398 | desc->depth = 0; |
399 | desc->status &= ~IRQ_DISABLED; | 399 | desc->status &= ~IRQ_DISABLED; |
400 | if (desc->chip->startup) | 400 | desc->chip->startup(irq); |
401 | desc->chip->startup(irq); | ||
402 | else | ||
403 | desc->chip->enable(irq); | ||
404 | } else | 401 | } else |
405 | /* Undo nested disables: */ | 402 | /* Undo nested disables: */ |
406 | desc->depth = 1; | 403 | desc->depth = 1; |