]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: imx: simplify set_intf_mode() implementations
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 3 Nov 2025 11:50:36 +0000 (11:50 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Nov 2025 00:21:25 +0000 (16:21 -0800)
commit35103babce3036058cd9ed8674c98e9ab397d715
treee6408f9bc96737a544064244276705a10ed06480
parentc012710c14a70dfa21691e2542d18dd4b621c518
net: stmmac: imx: simplify set_intf_mode() implementations

Simplify the set_intf_mode() implementations, testing the phy_intf_sel
value rather than the PHY interface mode.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vFt52-0000000ChpG-1bsd@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c