[<prev] [next>] [day] [month] [year] [list]
Message-Id: <171285411780.2498946.3824215880975158305.b4-ty@kernel.org>
Date: Thu, 11 Apr 2024 17:48:37 +0100
From: Lee Jones <lee@...nel.org>
To: pavel@....cz, lee@...nel.org, matthias.bgg@...il.com,
angelogioacchino.delregno@...labora.com, ChiaEn Wu <chiaen_wu@...htek.com>
Cc: linux-kernel@...r.kernel.org, linux-leds@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-mediatek@...ts.infradead.org,
peterwu.pub@...il.com, cy_huang@...htek.com
Subject: Re: (subset) [PATCH] leds: mt6360: Fix the second LED can not
enable torch mode by V4L2
On Tue, 09 Apr 2024 18:21:54 +0800, ChiaEn Wu wrote:
> V4L2 will disable strobe mode of the LED device when enable torch mode,
> but this logic will conflict with the "priv->fled_torch_used"
> in "mt6360_strobe_set()". So after enabling torch mode of the first
> LED, the second LED will not be able to enable torch mode correctly.
>
> Therefore, at the beginning of "mt6360_strobe_set()", check whether the
> state of the upcoming change and the current LED device state are the
> same, so as to avoid the above problem.
>
> [...]
Applied, thanks!
[1/1] leds: mt6360: Fix the second LED can not enable torch mode by V4L2
commit: 0dcd0488a7a5b8762256b393a8bd0c21e5e4e0fb
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists