diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2021-04-18 19:45:32 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-04-21 14:49:02 +0300 |
commit | 51b3d1a9a2b79beff6d4d746a576fa29dbf28acd (patch) | |
tree | 7ab929787b917b02912f3819b10aacecf4e3133b /mt7603 | |
parent | 36f664edc7db511edf3d5fdd5a3738dc0bd4bd87 (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.c | 2 |
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; |