Re: [PATCH AUTOSEL for 4.9 28/52] led: core: Fix brightness setting when setting delay_off=0

2018-02-03 Thread Jacek Anaszewski
On 02/03/2018 10:22 PM, Jacek Anaszewski wrote: > Hi Sasha, > > All 3.18, 4.4 and 4.9 also require the follow-up > patch [0], similarly like autosel did it for 4.14, > since this one alone breaks the other use case. Actually after taking closer look, it turns out that the patch [0] applies cleanl

Re: [PATCH AUTOSEL for 4.9 28/52] led: core: Fix brightness setting when setting delay_off=0

2018-02-03 Thread Jacek Anaszewski
Hi Sasha, All 3.18, 4.4 and 4.9 also require the follow-up patch [0], similarly like autosel did it for 4.14, since this one alone breaks the other use case. [0] https://lkml.org/lkml/2018/2/3/249 On 02/03/2018 07:03 PM, Sasha Levin wrote: > From: Matthieu CASTET > > [ Upstream commit 2b83ff96

[PATCH AUTOSEL for 4.9 28/52] led: core: Fix brightness setting when setting delay_off=0

2018-02-03 Thread Sasha Levin
From: Matthieu CASTET [ Upstream commit 2b83ff96f51d0b039c4561b9f95c824d7bddb85c ] 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_sof