On 2026-05-09T17:30:53, Francois Berder <[email protected]> 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 <[email protected]>
> Acked-by: Quentin Schulz <[email protected]>
>
> drivers/led/led_sw_blink.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to