From: Hyunki Koo Date: Fri, 26 Jan 2018 08:32:40 +0000 (+0900) Subject: [HACK] irq: irqchip: do not check irqd_irq_masked X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6cf0158c668f87369a2412f67e1326797f9329e1;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [HACK] irq: irqchip: do not check irqd_irq_masked Change-Id: Ieb2a610892000b536130629ae6238bcd139955e9 Signed-off-by: Hyunki Koo --- 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);