aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorGravatar Daniel Golle <daniel@makrotopia.org> 2024-04-21 01:08:31 +0100
committerGravatar David S. Miller <davem@davemloft.net> 2024-04-24 11:50:49 +0100
commit5b5f724b05c550e10693a53a81cadca901aefd16 (patch)
tree7ff0ede1387aa9e21931e6e762dd48fdec6c2271 /net
parentnet: gtp: Fix Use-After-Free in gtp_dellink (diff)
downloadlinux-5b5f724b05c550e10693a53a81cadca901aefd16.tar.gz
linux-5b5f724b05c550e10693a53a81cadca901aefd16.tar.bz2
linux-5b5f724b05c550e10693a53a81cadca901aefd16.zip
net: phy: mediatek-ge-soc: follow netdev LED trigger semantics
Only blink if the link is up on a LED which is programmed to also indicate link-status. Otherwise, if both LEDs are in use to indicate different speeds, the resulting blinking being inverted on LEDs which aren't switched on at a specific speed is quite counter-intuitive. Also make sure that state left behind by reset or the bootloader is recognized correctly including the half-duplex and full-duplex bits as well as the (unsupported by Linux netdev trigger semantics) link-down bit. Fixes: c66937b0f8db ("net: phy: mediatek-ge-soc: support PHY LEDs") Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions