Skip to content

Commit 6bf563d

Browse files
Nelson Changdavem330
authored andcommitted
net: ethernet: mediatek: add to stop PDMA while stopping the frame engine
Stop PDMA while the frame engine is going to stop. Signed-off-by: Nelson Chang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3783c09 commit 6bf563d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/mediatek/mtk_eth_soc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,6 +1784,7 @@ static int mtk_stop(struct net_device *dev)
17841784
napi_disable(&eth->rx_napi);
17851785

17861786
mtk_stop_dma(eth, MTK_QDMA_GLO_CFG);
1787+
mtk_stop_dma(eth, MTK_PDMA_GLO_CFG);
17871788

17881789
mtk_dma_free(eth);
17891790

0 commit comments

Comments
 (0)