Re: [PATCH 4.4 16/34] led: core: Fix brightness setting when setting delay_off=0
From: Ben Hutchings
Date: Wed Mar 07 2018 - 10:32:46 EST
On Fri, 2018-03-02 at 09:51 +0100, Greg Kroah-Hartman wrote:
> 4.4-stable review patch.ÂÂIf anyone has any objections, please let me
> know.
>
> ------------------
>
> From: Matthieu CASTET <matthieu.castet@xxxxxxxxxx>
>
>
> [ 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
[...]
The commit message got cut truncated here, which resulted in addresses
being omitted when it was sent out for review. The upstream commit
message refers to a LED_BLINK_SW flag which is not used in 4.4.ÂÂSo
this fix probably isn't needed, though I can't tell whether it does any
harm.
Ben.
--
Ben Hutchings
Software Developer, Codethink Ltd.