diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-11-11 16:47:29 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-11-12 16:59:29 +0300 |
commit | 8932975be066bf955bb018305964528bdc9e5291 (patch) | |
tree | 7d4eff16b7782c676e9a0813dee3cbccda19a317 /mt7603 | |
parent | 0f9350bef1b59462955226d2c9ea68f925b0ba19 (diff) |
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 'mt7603')
-rw-r--r-- | mt7603/dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mt7603/dma.c b/mt7603/dma.c index 3c639990..3d4be1f3 100644 --- a/mt7603/dma.c +++ b/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; |