aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/irq/chip.c2
-rw-r--r--kernel/irq/manage.c5
2 files changed, 2 insertions, 5 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index 964964baefa2..240c64d59267 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -587,7 +587,7 @@ __set_irq_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained,
587 desc->status &= ~IRQ_DISABLED; 587 desc->status &= ~IRQ_DISABLED;
588 desc->status |= IRQ_NOREQUEST | IRQ_NOPROBE; 588 desc->status |= IRQ_NOREQUEST | IRQ_NOPROBE;
589 desc->depth = 0; 589 desc->depth = 0;
590 desc->chip->unmask(irq); 590 desc->chip->startup(irq);
591 } 591 }
592 spin_unlock_irqrestore(&desc->lock, flags); 592 spin_unlock_irqrestore(&desc->lock, flags);
593} 593}
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;