]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: qcom-sgmii-eth: relax order of .power_on() vs .set_mode*()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 3 Mar 2026 15:54:01 +0000 (15:54 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Mar 2026 02:43:07 +0000 (18:43 -0800)
commitebe8b48b88ad012cf6067226e184e9173b7ea9d6
tree67107b9eb33245efc2cb36ca55730331fc963047
parentf82210ce8cb8015a06af48a2732ce17a2e903f71
phy: qcom-sgmii-eth: relax order of .power_on() vs .set_mode*()

Allow any order of the .power_on() and .set_mode*() methods as per the
recent discussion. This means phy_power_on() with this SerDes will now
restore the previous setup without requiring a subsequent
phy_set_mode*() call.

Tested-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vxS4P-0000000BQXs-0vGB@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/phy/qualcomm/phy-qcom-sgmii-eth.c