diff options
author | 2023-08-08 23:04:36 +0200 | |
---|---|---|
committer | 2023-08-10 17:35:00 -0700 | |
commit | e8fbcc47a8e935f36f044d85f21a99acecbd7bfb (patch) | |
tree | da9c44d53a08c3571871c58a67edaf56984ed9c7 /tools/perf/scripts/python | |
parent | net: phy: marvell: Add support for offloading LED blinking (diff) | |
download | wireguard-linux-e8fbcc47a8e935f36f044d85f21a99acecbd7bfb.tar.xz wireguard-linux-e8fbcc47a8e935f36f044d85f21a99acecbd7bfb.zip |
leds: trig-netdev: Disable offload on deactivation of trigger
Ensure that the offloading of blinking is stopped when the trigger is
deactivated. Calling led_set_brightness() is documented as stopping
offload and setting the LED to a constant brightness.
Suggested-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Tested-by: Daniel Golle <daniel@makrotopia.org>
Link: https://lore.kernel.org/r/20230808210436.838995-5-andrew@lunn.ch
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions