Re: [PATCH 1/6] mt76: mt7921: move mt7921_dma_reset in dma.c
From: <sean.wang@mediatek.com>
Date: 2021-04-19 03:00:37
Also in:
linux-mediatek
From: Sean Wang <sean.wang@mediatek.com>
quoted
From: Lorenzo Bianconi <lorenzo@kernel.org> 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@mediatek.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> --- .../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, Lorenzoquoted
diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/dma.cb/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>