diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2026-03-05 13:42:32 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-07 02:39:09 +0300 |
| commit | b6687ef976036d3a3e672384f47de5742b2574c7 (patch) | |
| tree | 65d716a9c3a397c59d23885281174959be7cf652 /include | |
| parent | 4c7e0e081889be876e2d9ee23332c75b6207d5eb (diff) | |
| download | linux-b6687ef976036d3a3e672384f47de5742b2574c7.tar.xz | |
net: stmmac: mdio: use same test for MDC clock divisor lookups
Use the same frequency test for all clk_csr value lookups (clock
rate > table rate). This has the side effect that the standard rate
table results in the divider being used for the maximum frequency
for the divider rather than the next higher divider. This still
allows MDC to meet the IEE 802.3 specification, but at a rate closer
to 2.5MHz for these frequencies.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/E1vy6A4-0000000Btwj-0ATB@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
