mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue