diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-02-21 17:15:12 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-25 01:29:56 +0300 |
commit | 171fd7cb153c4614d4132fbb135ef1c0855e330a (patch) | |
tree | 060dde3eae6aebbbc619c139eedacae396c780ed /arch/powerpc/lib/code-patching.c | |
parent | f7135a4f6d36ad8f4e2b2b21077ee44e189e5d4d (diff) | |
download | linux-171fd7cb153c4614d4132fbb135ef1c0855e330a.tar.xz |
net: stmmac: thead: use rgmii_clock() for RGMII clock rate
Switch to using rgmii_clock() to get the RGMII TXC rate, and calculate
the divisor from the parent clock rate and the rate indicated by
rgmii_clock().
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Drew Fustini <drew@pdp7.com>
Link: https://patch.msgid.link/E1tlTo8-004W3a-CO@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions