]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: phy: micrel: fix KSZ9477 PHY issues after suspend/resume
authorTristram Ha <tristram.ha@microchip.com>
Wed, 29 May 2024 02:20:23 +0000 (19:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2024 11:06:29 +0000 (12:06 +0100)
commit6149db4997f582e958da675092f21c666e3b67b7
tree0ba23575fdf57b5a2956539ad1846cc5623cbcb9
parent33700a0c9b562700c28d31360a5f04508f459a45
net: phy: micrel: fix KSZ9477 PHY issues after suspend/resume

When the PHY is powered up after powered down most of the registers are
reset, so the PHY setup code needs to be done again.  In addition the
interrupt register will need to be setup again so that link status
indication works again.

Fixes: 26dd2974c5b5 ("net: phy: micrel: Move KSZ9477 errata fixes to PHY driver")
Signed-off-by: Tristram Ha <tristram.ha@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c