net: phy: smsc: LAN8710/20: remove PHY_RST_AFTER_CLK_EN flag
authorMarco Felsch <m.felsch@pengutronix.de>
Wed, 9 Sep 2020 13:45:01 +0000 (15:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Sep 2020 21:15:02 +0000 (14:15 -0700)
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>
drivers/net/phy/smsc.c

index f181c1d..ec97669 100644 (file)
@@ -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,