]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: phy: microchip: lan87xx: reinit PHY after cable test
authorOleksij Rempel <o.rempel@pengutronix.de>
Fri, 5 Jul 2024 08:49:54 +0000 (10:49 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 9 Jul 2024 03:22:13 +0000 (20:22 -0700)
commit30f747b8d53bc73555f268d0f48f56174fa5bf10
tree43d78d239468cb77fe2af68864c4ab8a9ddc8afa
parent83c36e7cfd74e41a5c145640dba581b38f12aa15
net: phy: microchip: lan87xx: reinit PHY after cable test

Reinit PHY after cable test, otherwise link can't be established on
tested port. This issue is reproducible on LAN9372 switches with
integrated 100BaseT1 PHYs.

Fixes: 788050256c411 ("net: phy: microchip_t1: add cable test support for lan87xx phy")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20240705084954.83048-1-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/microchip_t1.c