summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/smsc.c
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2020-09-09 15:45:01 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-09 23:15:02 +0200
commitd65af21842f8a7821fc3b28dc043c2f92b2b312c (patch)
treec5ee0dde8468195c03e6f1c775615132adb6b90f /drivers/net/phy/smsc.c
parentnet: phy: smsc: LAN8710/20: add phy refclk in support (diff)
downloadlinux-d65af21842f8a7821fc3b28dc043c2f92b2b312c.tar.xz
linux-d65af21842f8a7821fc3b28dc043c2f92b2b312c.zip
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 <m.felsch@pengutronix.de> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/smsc.c')
-rw-r--r--drivers/net/phy/smsc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c
index f181c1d1d17b..ec97669be5c2 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,