Skip to content

Commit 25cc469

Browse files
hkallweitkuba-moo
authored andcommitted
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]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 5238754 commit 25cc469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/phy/micrel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2006,7 +2006,7 @@ static int ksz9477_config_init(struct phy_device *phydev)
20062006
* in this switch shall be regarded as broken.
20072007
*/
20082008
if (phydev->dev_flags & MICREL_NO_EEE)
2009-
linkmode_fill(phydev->eee_broken_modes);
2009+
phy_disable_eee(phydev);
20102010

20112011
return kszphy_config_init(phydev);
20122012
}

0 commit comments

Comments
 (0)