Re: (subset) [PATCH v2] leds: Fix LED_OFF brightness race

From: Lee Jones
Date: Thu Feb 27 2025 - 11:31:41 EST


On Thu, 20 Feb 2025 12:23:17 +0100, Remi Pommarel wrote:
> While commit fa15d8c69238 ("leds: Fix set_brightness_delayed() race")
> successfully forces led_set_brightness() to be called with LED_OFF at
> least once when switching from blinking to LED on state so that
> hw-blinking can be disabled, another race remains. Indeed in
> led_set_brightness(LED_OFF) followed by led_set_brightness(any)
> scenario the following CPU scheduling can happen:
>
> [...]

Applied, thanks!

[1/1] leds: Fix LED_OFF brightness race
commit: 2c70953b6f535f7698ccbf22c1f5ba26cb6c2816

--
Lee Jones [李琼斯]