mt76: mt7615: stop mcu first in mt7615_unregister_device
Subsystems (2)
Lorenzo Bianconi
maintainerPATCH 1/1 mt76: mt7615: stop mcu first in mt7615_unregister_device
In reply to a message not in the archiveStop mcu engine and then dma one in mt7615_unregister_device in order to avoid a mcu hang in mt7615_unregister_device
Signed-off-by Lorenzo Bianconi <[email protected]>
---
This patch ca be squashed with 'mt76: mt7615: rearrange cleanup operations in mt7615_unregister_device' since it is not upstream yet
--- drivers/net/wireless/mediatek/mt76/mt7615/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/mediatek/mt76/mt7615/init.c +1 -1
@@ -213,8 +213,8 @@ void mt7615_unregister_device(struct mt7615_dev *dev)int id;mt76_unregister_device (&dev->mt76); -mt7615_dma_cleanup (dev);mt7615_mcu_exit (dev); +mt7615_dma_cleanup (dev);spin_lock_bh (&dev->token_lock);idr_for_each_entry (&dev->token, txwi, id) {
Signature · 1 line
2.20.1
Quoted 7 lines · Lorenzo Bianconi
Stop mcu engine and then dma one in
mt7615_unregister_devicein order to avoid a mcu hang inmt7615_unregister_deviceSigned-off-by Lorenzo Bianconi <[email protected]>---
This patch ca be squashed with 'mt76: mt7615: rearrange cleanup operations inmt7615_unregister_device' since it is not upstream yet
Applied, thanks.
- Felix