Commit b524a14e authored by Bo-Cun Chen's avatar Bo-Cun Chen Committed by Greg Kroah-Hartman
Browse files

net: ethernet: mtk_eth_soc: reapply mdc divider on reset



[ Upstream commit 6bc2b6c6 ]

In the current method, the MDC divider was reset to the default setting
of 2.5MHz after the NETSYS SER. Therefore, we need to reapply the MDC
divider configuration function in mtk_hw_init() after reset.

Fixes: c0a44003 ("net: ethernet: mtk_eth_soc: set MDIO bus clock frequency")
Signed-off-by: default avatarBo-Cun Chen <bc-bocun.chen@mediatek.com>
Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
Link: https://patch.msgid.link/8ab7381447e6cdcb317d5b5a6ddd90a1734efcb0.1744764277.git.daniel@makrotopia.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent da5035d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment