diff options
author | Catalin Popescu <catalin.popescu@leica-geosystems.com> | 2024-02-26 17:23:39 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-29 04:33:49 +0100 |
commit | e83ddcea65491efe29e12765996966509aa795d3 (patch) | |
tree | fcb65e01cc2a25a21e931f3127e2de89f239ca33 /drivers/net/phy/dp83822.c | |
parent | net: remove SLAB_MEM_SPREAD flag usage (diff) | |
download | linux-e83ddcea65491efe29e12765996966509aa795d3.tar.xz linux-e83ddcea65491efe29e12765996966509aa795d3.zip |
net: phy: dp83826: disable WOL at init
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/phy/dp83822.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/dp83822.c b/drivers/net/phy/dp83822.c index edc39ae4c241..95178e26a060 100644 --- a/drivers/net/phy/dp83822.c +++ b/drivers/net/phy/dp83822.c @@ -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) |