net: phy: micrel: lan8814 led errata
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Mon, 4 Mar 2024 09:15:47 +0000 (10:15 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 5 Mar 2024 19:17:46 +0000 (11:17 -0800)
commite9097f8e1e768a359f2484329191ece2922330ec
tree89ac0955baba5275f1b6a36349d26370c8b6a47f
parent5ad051235cf7cf7d1c91f24fb8a006ff02aa2a51
net: phy: micrel: lan8814 led errata

Lan8814 phy led behavior is not correct. It was noticed that the led
still remains ON when the cable is unplugged while there was traffic
passing at that time.

The fix consists in clearing bit 10 of register 0x38, in this way the
led behaviour is correct and gets OFF when there is no link.

Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20240304091548.1386022-2-horatiu.vultur@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/micrel.c