diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-11-07 08:29:16 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-10 17:30:40 -0800 |
| commit | 2284cca0bced3cd8c1cb643d1ae6923a75e47265 (patch) | |
| tree | a59bc2846524ce72ae1ccceaf82889a8bd01f918 /include/linux | |
| parent | 608975d4d791644d15b286b2b7bfcd25359c979f (diff) | |
net: stmmac: ingenic: simplify x2000 mac_set_mode()
As per the previous commit, we have validated that the phy_intf_sel
value is one that is permissible for this SoC, so there is no need to
handle invalid PHY interface modes. We can also apply the other
configuration based upon the phy_intf_sel value rather than the
PHY interface mode.
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vHHqO-0000000Djrb-0DPN@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
