mt76: mt7921: avoid unnecessary spin_lock/spin_unlock in mt7921_mcu_tx_done_event
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 19 Jun 2021 18:19:58 +0000 (20:19 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Oct 2021 08:36:22 +0000 (10:36 +0200)
commit305023510f13afae8a0cb8118eb53c6056764781
tree9484452f05ce4d207492ce2629a1f97722efc854
parentdf040215c077de0c13aab12c222bd0360a0d3988
mt76: mt7921: avoid unnecessary spin_lock/spin_unlock in mt7921_mcu_tx_done_event

Do not grab the spinlock in mt7921_mcu_tx_done_event routine if not
necessary.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/mcu.c