diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2022-11-24 16:22:55 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-11-29 11:40:24 +0100 |
commit | 23dca7a90017ff2512c501f7da4c7ca7a95c2d6e (patch) | |
tree | be556de34aa24e32b460020a9382ec4fddbe19a2 /drivers/net/wireless/mediatek/mt76/dma.c | |
parent | net: ethernet: mtk_wed: add mtk_wed_rx_reset routine (diff) | |
download | linux-23dca7a90017ff2512c501f7da4c7ca7a95c2d6e.tar.xz linux-23dca7a90017ff2512c501f7da4c7ca7a95c2d6e.zip |
net: ethernet: mtk_wed: add reset to tx_ring_setup callback
Introduce reset parameter to mtk_wed_tx_ring_setup signature.
This is a preliminary patch to add Wireless Ethernet Dispatcher reset
support.
Co-developed-by: Sujuan Chen <sujuan.chen@mediatek.com>
Signed-off-by: Sujuan Chen <sujuan.chen@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/dma.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/dma.c b/drivers/net/wireless/mediatek/mt76/dma.c index 7378c4d1e156..28cbf07046c3 100644 --- a/drivers/net/wireless/mediatek/mt76/dma.c +++ b/drivers/net/wireless/mediatek/mt76/dma.c @@ -502,7 +502,7 @@ mt76_dma_wed_setup(struct mt76_dev *dev, struct mt76_queue *q) switch (type) { case MT76_WED_Q_TX: - ret = mtk_wed_device_tx_ring_setup(wed, ring, q->regs); + ret = mtk_wed_device_tx_ring_setup(wed, ring, q->regs, false); if (!ret) q->wed_regs = wed->tx_ring[ring].reg_base; break; |