net: ethernet: mtk_eth_soc: do not reset PSE when setting FE
[ Upstream commit e8716b5b0dff1b3d523b4a83fd5e94d57b887c5c ] Remove redundant PSE reset. When setting FE register there is no need to reset PSE, doing so may cause FE to work abnormal. Link:3a5223473eFixes:dee4dd10c7("net: ethernet: mtk_eth_soc: ppe: add support for multiple PPEs") Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Link: https://patch.msgid.link/18f0ac7d83f82defa3342c11ef0d1362f6b81e88.1746406763.git.daniel@makrotopia.org Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
aac9d5fa53
commit
79a6945e3d
@@ -3427,9 +3427,6 @@ static int mtk_open(struct net_device *dev)
|
||||
}
|
||||
mtk_gdm_config(eth, target_mac->id, gdm_config);
|
||||
}
|
||||
/* Reset and enable PSE */
|
||||
mtk_w32(eth, RST_GL_PSE, MTK_RST_GL);
|
||||
mtk_w32(eth, 0, MTK_RST_GL);
|
||||
|
||||
napi_enable(ð->tx_napi);
|
||||
napi_enable(ð->rx_napi);
|
||||
|
||||
Reference in New Issue
Block a user