mt76: mt7915: clean up and fix interrupt masking in the irq handler
authorFelix Fietkau <nbd@nbd.name>
Fri, 7 Aug 2020 18:56:32 +0000 (20:56 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Sep 2020 16:10:13 +0000 (18:10 +0200)
commitacc4696dcfea8d6ed5a3748467580ca3228dde00
tree04122b6302511ade696ae5c0f3a73e4e0c1f820b
parent9df8c539bed7b676af2204af2988e2c9409c135e
mt76: mt7915: clean up and fix interrupt masking in the irq handler

Only clear unmasked interrupts. If an interrupt is temporarily masked,
its pending events need to be processed later, even if another interrupt
happened in the mean time.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/pci.c