From: Marco Felsch Date: Wed, 9 Sep 2020 13:45:01 +0000 (+0200) Subject: net: phy: smsc: LAN8710/20: remove PHY_RST_AFTER_CLK_EN flag X-Git-Tag: v5.10-rc1~107^2~329^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d65af21842f8a7821fc3b28dc043c2f92b2b312c;p=thirdparty%2Flinux.git net: phy: smsc: LAN8710/20: remove PHY_RST_AFTER_CLK_EN flag Don't reset the phy without respect to the PHY library state machine because this breaks the phy IRQ mode. The same behaviour can be archived now by specifying the refclk. Signed-off-by: Marco Felsch Reviewed-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c index f181c1d1d17b2..ec97669be5c2a 100644 --- a/drivers/net/phy/smsc.c +++ b/drivers/net/phy/smsc.c @@ -397,7 +397,6 @@ static struct phy_driver smsc_phy_driver[] = { .name = "SMSC LAN8710/LAN8720", /* PHY_BASIC_FEATURES */ - .flags = PHY_RST_AFTER_CLK_EN, .probe = smsc_phy_probe, .remove = smsc_phy_remove,