Skip to content
Commit c5c0760a authored by Russell King (Oracle)'s avatar Russell King (Oracle) Committed by Sasha Levin
Browse files

net: mtk_eth_soc: move MAC_MCR setting to mac_finish()

[ Upstream commit 0e37ad71

 ]

Move the setting of the MTK_MAC_MCR register from the end of mac_config
into the phylink mac_finish() method, to keep it as the very last write
that is done during configuration.

Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Stable-dep-of: f1b85ef1

 ("net: mediatek: mtk_eth_soc: clear MAC_MCR_FORCE_LINK only when MAC is up")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a809bbfd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment