[HACK] irq: irqchip: do not check irqd_irq_masked
authorHyunki Koo <hyunki00.koo@samsung.com>
Fri, 26 Jan 2018 08:32:40 +0000 (17:32 +0900)
committerJaehyoung Choi <jkkkkk.choi@samsung.com>
Mon, 14 May 2018 05:04:19 +0000 (14:04 +0900)
Change-Id: Ieb2a610892000b536130629ae6238bcd139955e9
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
kernel/irq/chip.c

index 5a2ef92c2782c59c177e1f6c2eb5b4b17fb75a49..9ad0b351c1c3cba762050ff3729cc5fbfc445102 100644 (file)
@@ -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);