mt76: set interrupt mask register to 0 before requesting irq
authorFelix Fietkau <nbd@nbd.name>
Fri, 7 Aug 2020 19:55:52 +0000 (21:55 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Sep 2020 16:10:13 +0000 (18:10 +0200)
commit9df8c539bed7b676af2204af2988e2c9409c135e
tree34321cbfe5d65ced6e45795a9d157bb13bbf460c
parent27d5c528a7ca08dcd44877fdd9fc08b76630bf77
mt76: set interrupt mask register to 0 before requesting irq

Avoids spurious interrupts in case the hardware was running already

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7603/pci.c
drivers/net/wireless/mediatek/mt76/mt7603/soc.c
drivers/net/wireless/mediatek/mt76/mt7615/mmio.c
drivers/net/wireless/mediatek/mt76/mt76x0/pci.c
drivers/net/wireless/mediatek/mt76/mt76x2/pci.c
drivers/net/wireless/mediatek/mt76/mt7915/pci.c