[PATCH 1/6] mt76: mt7921: move mt7921_dma_reset in dma.c

sean.wang at mediatek.com sean.wang at mediatek.com
Mon Apr 19 04:00:29 BST 2021


From: Sean Wang <sean.wang at mediatek.com>

>> From: Lorenzo Bianconi <lorenzo at 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 at mediatek.com>
>> Signed-off-by: Lorenzo Bianconi <lorenzo at 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,
>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>


More information about the Linux-mediatek mailing list