]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: phy: dp83826: disable WOL at init
authorCatalin Popescu <catalin.popescu@leica-geosystems.com>
Mon, 26 Feb 2024 16:23:39 +0000 (17:23 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 29 Feb 2024 03:33:49 +0000 (19:33 -0800)
Commit d1d77120bc28 ("net: phy: dp83826: support TX data voltage tuning")
introduced a regression in that WOL is not disabled by default for DP83826.
WOL should normally be enabled through ethtool.

Fixes: d1d77120bc28 ("net: phy: dp83826: support TX data voltage tuning")
Signed-off-by: Catalin Popescu <catalin.popescu@leica-geosystems.com>
Link: https://lore.kernel.org/r/20240226162339.696461-1-catalin.popescu@leica-geosystems.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/dp83822.c

index edc39ae4c241b3999479ca2bac347a43cf03e2a6..95178e26a060677e9bb603e2476e742e71794980 100644 (file)
@@ -572,7 +572,7 @@ static int dp83826_config_init(struct phy_device *phydev)
                        return ret;
        }
 
-       return 0;
+       return dp8382x_disable_wol(phydev);
 }
 
 static int dp8382x_config_init(struct phy_device *phydev)