* [PATCH] mt76x2u: init: remove not useful configuration
[not found] <cover.1540821963.git.lorenzo.bianconi@redhat.com>
@ 2018-10-29 14:12 ` Lorenzo Bianconi
2018-11-05 17:00 ` Felix Fietkau
0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Bianconi @ 2018-10-29 14:12 UTC (permalink / raw)
To: nbd; +Cc: sgruszka, linux-wireless
Remove MT_TSO_CTRL and MT_HEADER_TRANS_CTRL_REG initialization since
it is already done in mt76_write_mac_initvals routine
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
---
drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c b/drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c
index a7d591610f16..c338ac0433ad 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c
@@ -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);
--
2.17.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mt76x2u: init: remove not useful configuration
2018-10-29 14:12 ` [PATCH] mt76x2u: init: remove not useful configuration Lorenzo Bianconi
@ 2018-11-05 17:00 ` Felix Fietkau
0 siblings, 0 replies; 2+ messages in thread
From: Felix Fietkau @ 2018-11-05 17:00 UTC (permalink / raw)
To: Lorenzo Bianconi; +Cc: sgruszka, linux-wireless
On 2018-10-29 15:12, Lorenzo Bianconi wrote:
> Remove MT_TSO_CTRL and MT_HEADER_TRANS_CTRL_REG initialization since
> it is already done in mt76_write_mac_initvals routine
>
> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Applied, thanks.
- Felix
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-05 17:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <cover.1540821963.git.lorenzo.bianconi@redhat.com>
2018-10-29 14:12 ` [PATCH] mt76x2u: init: remove not useful configuration Lorenzo Bianconi
2018-11-05 17:00 ` Felix Fietkau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).