Skip to content

Commit 6584a2d

Browse files
bcchen28411frank-w
authored andcommitted
net: pcs: mtk-usxgmii: fix usxgmii link flapping the mtk way
For the USXGMII link‑flap issue, remove statements that are already executed inside mtk_usxgmii_pcs_config().
1 parent 5ae63f5 commit 6584a2d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/net/pcs/pcs-mtk-usxgmii.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,6 @@ static void mtk_usxgmii_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mo
390390
return;
391391

392392
mtk_usxgmii_pcs_config(pcs, neg_mode, interface, NULL, false);
393-
phy_reset(mpcs->xfi_tphy);
394-
phy_set_mode_ext(mpcs->xfi_tphy, PHY_MODE_ETHERNET, interface);
395393
}
396394

397395
static int mtk_usxgmii_pcs_enable(struct phylink_pcs *pcs)

0 commit comments

Comments
 (0)