net: phy: micrel: use helper phy_disable_eee
Subsystems (3)
Heiner Kallweit
maintainerPATCH 1/1 net: phy: micrel: use helper phy_disable_eee
Use helper phy_disable_eee() instead of setting phylib-internal bitmap eee_broken_modes directly.
Signed-off-by Heiner Kallweit <[email protected]>
--- drivers/net/phy/micrel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/micrel.c +1 -1
@@ -2006,7 +2006,7 @@ static int ksz9477_config_init(struct phy_device *phydev)* in this switch shall be regarded as broken. */ if (phydev->dev_flags &MICREL_NO_EEE ) -linkmode_fill (phydev->eee_broken_modes); +phy_disable_eee (phydev);return kszphy_config_init (phydev); }
Signature · 1 line
2.47.1
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 7 lines · On Tue, 7 Jan 2025 21:13:44 +0100 you wrote:
Use helper
phy_disable_eee()instead of setting phylib-internal bitmapeee_broken_modesdirectly.Signed-off-by Heiner Kallweit <[email protected]>--- drivers/net/phy/micrel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [net-next] net: phy: micrel: use helper phy_disable_eee
https://git.kernel.org/netdev/net-next/c/25cc469d6d34
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html