]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: stmmac: qcom-ethqos: use rgmii_clock() to set the link clock
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 21 Feb 2025 11:38:20 +0000 (11:38 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 24 Feb 2025 20:53:48 +0000 (12:53 -0800)
commit98f9928843331fc4e91b25d9969a9458c3f9c552
treed15b77c675b8cd246cea9312541df8b3c2576451
parente13b6da7045f997e1a5a5efd61d40e63c4fc20e8
net: stmmac: qcom-ethqos: use rgmii_clock() to set the link clock

The link clock operates at twice the RGMII clock rate. Therefore, we
can use the rgmii_clock() helper to set this clock rate.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/E1tlRMK-004Vsx-Ss@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c