aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/chip.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index e6dc8b8839dd..0133f4f9e9f0 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -565,10 +565,8 @@ __set_irq_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained,
565 565
566 /* Uninstall? */ 566 /* Uninstall? */
567 if (handle == handle_bad_irq) { 567 if (handle == handle_bad_irq) {
568 if (desc->chip != &no_irq_chip) { 568 if (desc->chip != &no_irq_chip)
569 desc->chip->mask(irq); 569 mask_ack_irq(desc, irq);
570 desc->chip->ack(irq);
571 }
572 desc->status |= IRQ_DISABLED; 570 desc->status |= IRQ_DISABLED;
573 desc->depth = 1; 571 desc->depth = 1;
574 } 572 }