lkml.org 
[lkml]   [2024]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: (subset) [PATCH] leds: mt6360: Fix the second LED can not enable torch mode by V4L2
Date
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 [李琼斯]


\
 
 \ /
  Last update: 2024-05-27 16:36    [W:5.401 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site