[PATCH RFC net-next 6/7] net: stmmac: intel: use generic stmmac_set_clk_tx_rate()
Thierry Reding
thierry.reding at gmail.com
Tue Feb 25 12:46:56 PST 2025
On Tue, Feb 18, 2025 at 11:15:05AM +0000, Russell King (Oracle) wrote:
> Use the generic stmmac_set_clk_tx_rate() to configure the MAC transmit
> clock.
>
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>
> ---
> .../stmicro/stmmac/dwmac-intel-plat.c | 24 +++----------------
> 1 file changed, 3 insertions(+), 21 deletions(-)
This isn't quite the same code, but the result should be the same since
clk_set_rate() will be ignored if the clock is NULL, which would be the
case for !dwmac->data->tx_clk_en.
Reviewed-by: Thierry Reding <treding at nvidia.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250225/b7bc8e67/attachment.sig>
More information about the linux-arm-kernel
mailing list