[PATCH 4.9 2/2] led: core: Clear LED_BLINK_SW flag in led_blink_set()

2018-03-17 Thread Jacek Anaszewski
With the current code, the following sequence won't work : echo timer > trigger echo 0 > delay_off * at this point we call ** led_delay_off_store ** led_blink_set *** stop timer ** led_blink_setup ** led_set_software_blink *** if !delay_on, led off *** if !delay_off, set

[PATCH 4.9 2/2] led: core: Clear LED_BLINK_SW flag in led_blink_set()

2018-03-17 Thread Jacek Anaszewski
With the current code, the following sequence won't work : echo timer > trigger echo 0 > delay_off * at this point we call ** led_delay_off_store ** led_blink_set *** stop timer ** led_blink_setup ** led_set_software_blink *** if !delay_on, led off *** if !delay_off, set