From: Sean Wang <sean.wang@xxxxxxxxxxxx> >> From: Lorenzo Bianconi <lorenzo@xxxxxxxxxx> >> >> 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. >> >> Signed-off-by: Sean Wang <sean.wang@xxxxxxxxxxxx> >> Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx> >> --- >> .../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(-) > >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. > >Regards, >Lorenzo > >> >> diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/dma.c >> b/drivers/net/wireless/mediatek/mt76/mt7921/dma.c >> index 992faf82ad09..f8815aa247eb 100644 >> --- a/drivers/net/wireless/mediatek/mt76/mt7921/dma.c >> +++ b/drivers/net/wireless/mediatek/mt76/mt7921/dma.c >> @@ -206,6 +206,77 @@ static int mt7921_dmashdl_disabled(struct mt7921_dev *dev) >> return 0; > <snip>