summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt7603/dma.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2020-11-11 14:47:29 +0100
committerFelix Fietkau <nbd@nbd.name>2020-12-04 14:31:14 +0100
commitb1cb42add6d60560e21e53bcec63d150cab7e1df (patch)
tree19b25a1ddf01d6c696bfccf115f84cff4500d07c /drivers/net/wireless/mediatek/mt76/mt7603/dma.c
parent8987059475f503cbf8c5fbb8e8fe537d602bec92 (diff)
downloadlinux-b1cb42add6d60560e21e53bcec63d150cab7e1df.tar.gz
linux-b1cb42add6d60560e21e53bcec63d150cab7e1df.tar.bz2
linux-b1cb42add6d60560e21e53bcec63d150cab7e1df.zip
mt76: introduce mt76_init_mcu_queue utility routine
Introduce mt76_init_mcu_queue utility routine in order to allocate dedicate q_mcu pointers for mcu hw queues. This is a preliminary patch to move data queues in mt76_phy and add dbdc support to mt7915 driver Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7603/dma.c')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7603/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7603/dma.c b/drivers/net/wireless/mediatek/mt76/mt7603/dma.c
index 3c6399909c06..3d4be1f3abd8 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7603/dma.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7603/dma.c
@@ -9,7 +9,7 @@ mt7603_init_tx_queue(struct mt7603_dev *dev, int qid, int idx, int n_desc)
{
int err;
- err = mt76_init_tx_queue(&dev->mt76, qid, idx, n_desc,
+ err = mt76_init_tx_queue(&dev->mphy, qid, idx, n_desc,
MT_TX_RING_BASE);
if (err < 0)
return err;