wifi: mt76: mt7925: skip DMA re-init selectively

Add a flag to skip it on chips that don't need it.

Signed-off-by: Jeff Hsu <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Jeff Hsu
2026-07-30 10:13:51 +02:00
committed by Felix Fietkau
parent 9be8ee34e8
commit cd26ff6646
3 changed files with 7 additions and 0 deletions
+3
View File
@@ -418,6 +418,9 @@ int mt792x_wpdma_reinit_cond(struct mt792x_dev *dev)
struct mt76_connac_pm *pm = &dev->pm;
int err;
if (dev->skip_wpdma_reinit)
return 0;
/* check if the wpdma must be reinitialized */
if (mt792x_dma_need_reinit(dev)) {
/* disable interrutpts */