Skip to content

Commit 060fb27

Browse files
Russell King (Oracle)kuba-moo
authored andcommitted
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) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 8c84148 commit 060fb27

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,8 @@ int stmmac_pcs_setup(struct net_device *ndev)
524524
if (ret)
525525
return dev_err_probe(priv->device, ret, "No xPCS found\n");
526526

527+
xpcs_config_eee_mult_fact(xpcs, priv->plat->mult_fact_100ns);
528+
527529
priv->hw->xpcs = xpcs;
528530

529531
return 0;

0 commit comments

Comments
 (0)