[PATCH] led: Fix toggling LED on initial SW blink
Simon Glass
sjg at chromium.org
Mon May 11 15:42:17 CEST 2026
On 2026-05-09T17:30:53, Francois Berder <fberder at outlook.fr> wrote:
> led: Fix toggling LED on initial SW blink
>
> If the LED is in the ON state, it is briefly set to OFF
> then to ON immediately due to falling-through in the default
> case.
> This commit ensures that no fall-through occurs and thus
> a LED initially in the ON state is turned off before blinking.
>
> Signed-off-by: Francois Berder <fberder at outlook.fr>
> Acked-by: Quentin Schulz <quentin.schulz at cherry.de>
>
> drivers/led/led_sw_blink.c | 2 ++
> 1 file changed, 2 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list