Skip to contentSkip to conversation

mt76x2u: init: remove not useful configuration

PATCH Applied Lorenzo Bianconi 2 participants 2 messages Oct 29, 2018 – Nov 5, 2018 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#1 lore raw

PATCH 1/1 mt76x2u: init: remove not useful configuration

In reply to a message not in the archive

Remove MT_TSO_CTRL and MT_HEADER_TRANS_CTRL_REG initialization since it is already done in mt76_write_mac_initvals routine

---
 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c +0 -3
index a7d591610f16..c338ac0433ad 100644
@@ -191,9 +191,6 @@ int mt76x2u_init_hardware(struct mt76x02_dev *dev)
 	if (!mt76x02_wait_for_mac(&dev->mt76))
 		return -ETIMEDOUT;
 
-	mt76_wr(dev, MT_HEADER_TRANS_CTRL_REG, 0);
-	mt76_wr(dev, MT_TSO_CTRL, 0);
-
 	mt76x2u_init_dma(dev);
 
 	err = mt76x2u_mcu_init(dev);
Signature · 1 line
2.17.2
maintainer Applied
#2 lore raw
Quoted 4 lines · Lorenzo Bianconi

Remove MT_TSO_CTRL and MT_HEADER_TRANS_CTRL_REG initialization since it is already done in mt76_write_mac_initvals routine

Applied, thanks.

- Felix