diff options
author | Marek Vasut <marex@denx.de> | 2025-01-20 12:36:53 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2025-02-10 16:56:53 +0000 |
commit | c629c972b310af41e9e072febb6dae9a299edde6 (patch) | |
tree | 504c24d0184650c243b01ed4fd44ecc44dabbef3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 2014c95afecee3e76ca4a56956a936e23283f05b (diff) |
leds: trigger: netdev: Configure LED blink interval for HW offload
In case a PHY LED implements .blink_set callback to set LED blink
interval, call it even if .hw_control is already set, as that LED
blink interval likely controls the blink rate of that HW offloaded
LED. For PHY LEDs, that can be their activity blinking interval.
The software blinking is not affected by this change.
With this change, the LED interval setting looks something like this:
$ echo netdev > /sys/class/leds/led:green:lan/trigger
$ echo 1 > /sys/class/leds/led:green:lan/brightness
$ echo 250 > /sys/class/leds/led:green:lan/interval
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20250120113740.91807-1-marex@denx.de
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions