[Linux-stm32] [PATCH net-next 1/4] net: stmmac: visconti: re-arrange speed decode
Andrew Lunn
andrew at lunn.ch
Mon Jun 16 23:29:29 UTC 2025
On Mon, Jun 16, 2025 at 10:06:17PM +0100, Russell King (Oracle) wrote:
> 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 at armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew at lunn.ch>
Andrew
More information about the Linux-stm32
mailing list