net: phy: xpcs: Reset XPCS upon probe

Reset the XPCS upon probe stage so that we start it from well known
state.

Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jose Abreu 2020-03-20 10:53:35 +01:00 committed by David S. Miller
parent f84752d080
commit aaf99e8d56
1 changed files with 1 additions and 1 deletions

View File

@ -688,7 +688,7 @@ static int xpcs_probe(struct mdio_xpcs_args *xpcs, phy_interface_t interface)
match = entry;
if (xpcs_check_features(xpcs, match, interface))
return 0;
return xpcs_soft_reset(xpcs, MDIO_MMD_PCS);
}
}