Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/mt76.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mt7603
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2021-04-18 19:45:32 +0300
committerFelix Fietkau <nbd@nbd.name>2021-04-21 14:49:02 +0300
commit51b3d1a9a2b79beff6d4d746a576fa29dbf28acd (patch)
tree7ab929787b917b02912f3819b10aacecf4e3133b /mt7603
parent36f664edc7db511edf3d5fdd5a3738dc0bd4bd87 (diff)
mt76: dma: add the capability to define a custom rx napi poll routine
Add the capability to define a custom rx napi callback for each driver. This is a preliminary patch to properly support runtime-pm on rx side 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mt7603/dma.c b/mt7603/dma.c
index 2b624411..415ea17b 100644
--- a/mt7603/dma.c
+++ b/mt7603/dma.c
@@ -219,7 +219,7 @@ int mt7603_dma_init(struct mt7603_dev *dev)
return ret;
mt76_wr(dev, MT_DELAY_INT_CFG, 0);
- ret = mt76_init_queues(dev);
+ ret = mt76_init_queues(dev, mt76_dma_rx_poll);
if (ret)
return ret;