[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <171829734304.2712359.10662321406977554017.b4-ty@kernel.org>
Date: Thu, 13 Jun 2024 17:49:03 +0100
From: Lee Jones <lee@...nel.org>
To: Pavel Machek <pavel@....cz>,
Jacek Anaszewski <jacek.anaszewski@...il.com>,
Thomas Weißschuh <linux@...ssschuh.net>
Cc: linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org,
Dustin Howett <dustin@...ett.net>, stable@...r.kernel.org
Subject: Re: (subset) [PATCH v2] leds: triggers: flush pending brightness
before activating trigger
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 [李琼斯]
Powered by blists - more mailing lists