On Tue, 1 Oct 2024 at 06:25, Christian Marangi <[email protected]> wrote: > > We currently init the LED OFF when SW blink is triggered when > on_state_change() is called. This can be problematic for very short > period as the ON/OFF blink might never trigger. > > Toggle the LED (ON if OFF, OFF if ON) on initial SW blink to handle this > corner case and better display a LED blink from the user. > > Signed-off-by: Christian Marangi <[email protected]> > --- > drivers/led/led_sw_blink.c | 17 +++++++++++++++-- > 1 file changed, 15 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <[email protected]> Running a little bit blind here without a changelog. If you use patman it will do this automatically.

