mirror of https://github.com/torvalds/linux.git
net: stmmac: call xpcs_config_eee_mult_fact()
Arrange for stmmac to call the new xpcs_config_eee_mult_fact() function to configure the EEE clock multiplying factor. This will allow the removal of the xpcs_config_eee() calls in the next patch. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1thRQE-003w76-3C@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
8c84148667
commit
060fb27060
|
|
@ -524,6 +524,8 @@ int stmmac_pcs_setup(struct net_device *ndev)
|
|||
if (ret)
|
||||
return dev_err_probe(priv->device, ret, "No xPCS found\n");
|
||||
|
||||
xpcs_config_eee_mult_fact(xpcs, priv->plat->mult_fact_100ns);
|
||||
|
||||
priv->hw->xpcs = xpcs;
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue