]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: meson8b: use phy_intf_sel directly
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 10 Nov 2025 14:42:48 +0000 (14:42 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 12 Nov 2025 01:53:18 +0000 (17:53 -0800)
commit52d639da6feea3c8787a60b1efb534bd48ea053d
tree05cdd8df6c5eb80cb5363e1dcb2243577bc0ef5e
parent12f42597ab148753959bc466c0c66abcf10e4267
net: stmmac: meson8b: use phy_intf_sel directly

Rearrange meson_axg_set_phy_mode() to use phy_intf_sel directly,
converting it to the register field for meson8b_dwmac_mask_bits().

Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vIT6W-0000000DpPR-0tby@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c