summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVitaliy Sochnev <sochnev.v.74@gmail.com>2026-08-23 14:06:36 +0100
committerPaolo Abeni <pabeni@redhat.com>2026-08-27 11:47:01 +0200
commit03b4702fc5e311cbac9ba8654021a88f0dac914c (patch)
tree7105eb4f4b3ebcc0be39d0c522ff5b88cfa73408 /tools/perf/scripts/python
parent00eeab0c644a881a1dc86fbffb7e6047a6ce8ecd (diff)
downloadlinux-03b4702fc5e311cbac9ba8654021a88f0dac914c.tar.gz
linux-03b4702fc5e311cbac9ba8654021a88f0dac914c.zip
net: phy: air_en8811h: move LED GPIO configuration to config_init
The LED GPIO pins (GPIO3/4/5, mapped to LED2/LED1/LED0) are only ever configured as outputs once, in .probe(). But .config_init() restarts the MD32 MCU via en8811h_restart_mcu() on every call after the first (priv->mcu_needs_restart), and that restart resets buckpbus-mapped MCU state, including EN8811H_GPIO_OUTPUT. As a result the LED GPIOs fall back to inputs after the first event that re-triggers .config_init() (link renegotiation, ifdown/ifup, resume), and the PHY's LEDs stop reflecting link/activity state even though they worked right after probe. Move the GPIO-as-output configuration from .probe() to the end of .config_init(), so it is reapplied every time the MCU may have been restarted. Fixes: 71e79430117d ("net: phy: air_en8811h: Add the Airoha EN8811H PHY driver") Suggested-by: Mikhail Zhilkin <csharper2005@gmail.com> Signed-off-by: Vitaliy Sochnev <sochnev.v.74@gmail.com> Link: https://patch.msgid.link/20260823130638.1166453-2-sochnev.v.74@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions