mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
net: ethernet: mtk_eth_soc: only write values if needed
[ Upstream commit6e933a804c] Only restart auto-negotiation and write link timer if actually necessary. This prevents losing the link in case of minor changes. Fixes:7e53837269("net: ethernet: mediatek: Re-add support SGMII") Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Tested-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
658c3c10e5
commit
d808ca6c2f
1 changed files with 12 additions and 12 deletions
Loading…
Add table
Add a link
Reference in a new issue