From 6cf0158c668f87369a2412f67e1326797f9329e1 Mon Sep 17 00:00:00 2001 From: Hyunki Koo Date: Fri, 26 Jan 2018 17:32:40 +0900 Subject: [PATCH] [HACK] irq: irqchip: do not check irqd_irq_masked Change-Id: Ieb2a610892000b536130629ae6238bcd139955e9 Signed-off-by: Hyunki Koo --- kernel/irq/chip.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 5a2ef92c2782..9ad0b351c1c3 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -390,8 +390,10 @@ static inline void mask_ack_irq(struct irq_desc *desc) void mask_irq(struct irq_desc *desc) { +#if 0 if (irqd_irq_masked(&desc->irq_data)) return; +#endif if (desc->irq_data.chip->irq_mask) { desc->irq_data.chip->irq_mask(&desc->irq_data); @@ -401,8 +403,10 @@ void mask_irq(struct irq_desc *desc) void unmask_irq(struct irq_desc *desc) { +#if 0 if (!irqd_irq_masked(&desc->irq_data)) return; +#endif if (desc->irq_data.chip->irq_unmask) { desc->irq_data.chip->irq_unmask(&desc->irq_data); -- 2.20.1