net: fec: use mac-managed PHY PM
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 7 Apr 2021 15:52:45 +0000 (17:52 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 9 Apr 2021 23:37:04 +0000 (16:37 -0700)
commit557d5dc83f6831b4e54d141e9b121850406f9a60
tree06b5ba6b4e11caa7a9515495b4d7cfbf95de715d
parentfba863b816049b03f3fbb07b10ebdcfe5c4141f7
net: fec: use mac-managed PHY PM

Use the new mac_managed_pm flag to work around an issue with KSZ8081 PHY
that becomes unstable when a soft reset is triggered during aneg.

Reported-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Tested-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/fec_main.c