Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <hkallweit1@gmail.com>
Link: https://patch.msgid.link/5e19eebe-121e-4a41-b36d-a35631279dd8@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Heiner Kallweit and committed by
Jakub Kicinski
25cc469d 52387546

+1 -1
+1 -1
drivers/net/phy/micrel.c
··· 2006 2006 * in this switch shall be regarded as broken. 2007 2007 */ 2008 2008 if (phydev->dev_flags & MICREL_NO_EEE) 2009 - linkmode_fill(phydev->eee_broken_modes); 2009 + phy_disable_eee(phydev); 2010 2010 2011 2011 return kszphy_config_init(phydev); 2012 2012 }