aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-4.14/327-irqchip-bcm6345-periph-clear-on-init.patch
blob: a878b34b2175e63e43bb521f9bbe29ef72fee93d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/drivers/irqchip/irq-bcm6345-periph.c
+++ b/drivers/irqchip/irq-bcm6345-periph.c
@@ -240,6 +240,9 @@ static int __init __bcm6345_periph_intc_
 			/* route all interrupts to line 0 by default */
 			if (i == 0)
 				block->mask_cache[w] = 0xffffffff;
+
+			/* mask all interrupts */
+			__raw_writel(0, block->en_reg[w]);
 		}
 
 		irq_set_handler_data(block->parent_irq, data);