mirror of https://gitee.com/openkylin/linux.git
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:
parent
f84752d080
commit
aaf99e8d56
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue