diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-02-27 09:16:49 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-28 10:20:47 -0800 |
commit | 61356fb1b0d64105475254c2fa74ad63b90b3248 (patch) | |
tree | 8d20d2bc6fe41ab8db31cd7280a7574c08e370b4 /rust/helpers/task.c | |
parent | 36fa8c960720b55b5821ebea0f499ba8a8402c0a (diff) |
net: stmmac: intel: use generic stmmac_set_clk_tx_rate()
Use the generic stmmac_set_clk_tx_rate() to configure the MAC transmit
clock.
Note that given the current unpatched driver structure,
plat_dat->fix_mac_speed will always be populated with
kmb_eth_fix_mac_speed(), even when no clock is present. We preserve
this behaviour in this patch by always initialising plat_dat->clk_tx_i
and plat_dat->set_clk_tx_rate.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/E1tna0f-0052sw-8r@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions