aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSven Schwermer <sven.schwermer@disruptive-technologies.com>2025-04-04 20:40:36 +0200
committerLee Jones <lee@kernel.org>2025-05-14 09:24:45 +0100
commite35ca991a777ef513040cbb36bc8245a031a2633 (patch)
treeaad31d6ecc35c0112af814f287d0c46dcdc439c8 /tools/perf/scripts/python/exported-sql-viewer.py
parentleds: leds-cros_ec: Avoid -Wflex-array-member-not-at-end warning (diff)
downloadlinux-rng-e35ca991a777ef513040cbb36bc8245a031a2633.tar.xz
linux-rng-e35ca991a777ef513040cbb36bc8245a031a2633.zip
leds: multicolor: Fix intensity setting while SW blinking
When writing to the multi_intensity file, don't unconditionally call led_set_brightness. By only doing this if blinking is inactive we prevent blinking from stopping if the blinking is in its off phase while the file is written. Instead, if blinking is active, the changed intensity values are applied upon the next blink. This is consistent with changing the brightness on monochrome LEDs with active blinking. Suggested-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> Acked-by: Pavel Machek <pavel@ucw.cz> Reviewed-by: Tobias Deiminger <tobias.deiminger@linutronix.de> Tested-by: Sven Schuchmann <schuchmann@schleissheimer.de> Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com> Link: https://lore.kernel.org/r/20250404184043.227116-1-sven@svenschwermer.de Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions