Skip to contentSkip to conversation

mt76: mt7921: move mt7921_dma_reset in dma.c

PATCH [email protected] 1 participant 1 message Apr 19, 2021 1 message not in the archive Arm MediaTek

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): YHxinpO6Ev8qbbuf@lore-desk--annotate

#1 lore raw

From: Sean Wang <[email protected]>

Quoted 14 lines
Quoted 6 lines

From: Lorenzo Bianconi <[email protected]>

Move mt7921_dma_reset routine in dma.c and make mt7921_dma_prefetch static. Moreover add force parameter to mt7921_dma_reset signature. This is a preliminary patch to reset dma mt7921_mcu_drv_pmctrl.

Quoted 7 lines
---
 .../net/wireless/mediatek/mt76/mt7921/dma.c   | 71 +++++++++++++++++++
 .../net/wireless/mediatek/mt76/mt7921/mac.c   | 66 +----------------
 .../wireless/mediatek/mt76/mt7921/mt7921.h    |  2 +-
 3 files changed, 73 insertions(+), 66 deletions(-)
Quoted 4 lines

Hi Sean,

I have just posted a preliminary series mandatory to enable deep sleep on mt7921.
I can post my patches of this seires (the one you posted) on top of it, or if you prefer, can you please repost on top of my new series?

Thanks, I can post the series again rebased on the top of yours.

Quoted 13 lines

Regards,
Lorenzo

Quoted 8 lines
drivers/net/wireless/mediatek/mt76/mt7921/dma.c +0 -0
index 992faf82ad09..f8815aa247eb 100644
@@ -206,6 +206,77 @@ static int mt7921_dmashdl_disabled(struct mt7921_dev *dev)
 	return 0;

<snip>