mt76: mt76x02: remove irqsave/restore in locking for tx status fifo
authorFelix Fietkau <nbd@nbd.name>
Thu, 31 Jan 2019 21:38:28 +0000 (22:38 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 1 May 2019 11:03:59 +0000 (13:03 +0200)
commit6fe533378795f87bfa5075520742116f13d30ed3
tree7c42cee4dea4cfbbe95ea2d65c2ce9af2b6817ec
parent2ac515a5d74f26963362d5da9589c67ca3663338
mt76: mt76x02: remove irqsave/restore in locking for tx status fifo

Use a separate lock and spin_trylock to avoid disabling interrupts.
Should improve performance and latency

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02.h
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c
drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c