]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb325ba55eaf0eed78c7d07de3772d294ee73305d
treec5ee0dde8468195c03e6f1c775615132adb6b90f
parente2f7c5d71a1538e0019d7d3bc22ae2e9372e61ed
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>
drivers/net/phy/smsc.c