Re: (subset) [PATCH v2] leds: triggers: flush pending brightness before activating trigger

From: Lee Jones
Date: Thu Jun 13 2024 - 12:49:17 EST


On Thu, 13 Jun 2024 17:24:51 +0200, Thomas Weißschuh wrote:
> The race fixed in timer_trig_activate() between a blocking
> set_brightness() call and trigger->activate() can affect any trigger.
> So move the call to flush_work() into led_trigger_set() where it can
> avoid the race for all triggers.
>
>

Applied, thanks!

[1/1] leds: triggers: flush pending brightness before activating trigger
commit: ad5851de0eb12e088a570092242e421cd00691c5

--
Lee Jones [李琼斯]