diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-06-16 22:06:17 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-17 16:25:19 -0700 |
| commit | 7d7525876b5a7fe8d3229e8e04e78b166e5e8d75 (patch) | |
| tree | b1ca0b6f00c6dbe32f4dd7e949af5cc9a736079b /scripts/lib/kdoc/kdoc_output.py | |
| parent | 01c559c8b99c0784e37e907a16cfb30cf2f357a8 (diff) | |
net: stmmac: visconti: re-arrange speed decode
Re-arrange the speed decode in visconti_eth_set_clk_tx_rate() to be
more readable by first checking to see if we're using RGMII or RMII
and then decoding the speed, rather than decoding the speed and then
testing the interface mode.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/E1uRH21-004UyG-50@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions
