]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: rk: use phylink's interface mode for set_clk_tx_rate()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 19 Nov 2025 11:29:16 +0000 (11:29 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Nov 2025 01:55:37 +0000 (17:55 -0800)
commitf15bcd071913dfa754cabb85e9fff4eded4e35b2
treec50792c29dbe2cd88c2a343563ebc5929774b337
parentfdc38d34b37c8bfd24960b53fc65eae2ef575066
net: stmmac: rk: use phylink's interface mode for set_clk_tx_rate()

rk_set_clk_tx_rate() is passed the interface mode from phylink which
will be the same as bsp_priv->phy_iface. Use the passed-in interface
mode rather than bsp_priv->phy_iface.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vLgNA-0000000FMjN-0DSS@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c