]> git.dujemihanovic.xyz Git - u-boot.git/commit
led: enable LEDST_BLINK state unconditionally
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Fri, 19 Jul 2024 09:12:11 +0000 (13:12 +0400)
committerTom Rini <trini@konsulko.com>
Tue, 30 Jul 2024 18:35:23 +0000 (12:35 -0600)
commit2a15c676fa3413e7995e2a8b47e8932300e9e70b
tree68807c039afc26f83cf2e83a3fbfe7b01a6d4a6d
parentcb0b7ab607aa71ae4b77a2b4d30d3d604c8324af
led: enable LEDST_BLINK state unconditionally

Changes:
 * enable LEDST_BLINK state unconditionally
 * function led_set_period() becomes available when CONFIG_LED_BLINK
   is disabled. This makes led code simpler.
 * fix cmd/led.c to work properly when LEDST_BLINK present, but
   CONFIG_LED_BLINK is disabled

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/led.c
drivers/led/led-uclass.c
include/led.h