Hi!
> > EXPORT_SYMBOL_GPL(led_classdev_suspend);
> >
>
> Acked-by: Jacek Anaszewski
>
> Pavel, this needs to go to stable as well, so let's add the tag:
>
> Fixes: 81fe8e5b73e3 ("leds: core: Add led_set_brightness_nosleep{nopm}
> functions")
Applied, and I added the tag (thanks).
Documentat
Hi Kai-Heng,
Thank you for the update.
On 7/2/20 7:45 AM, Kai-Heng Feng wrote:
Sometimes LED won't be turned off by LED_CORE_SUSPENDRESUME flag upon
system suspend.
led_set_brightness_nopm() uses schedule_work() to set LED brightness.
However, there's no guarantee that the scheduled work gets
Sometimes LED won't be turned off by LED_CORE_SUSPENDRESUME flag upon
system suspend.
led_set_brightness_nopm() uses schedule_work() to set LED brightness.
However, there's no guarantee that the scheduled work gets executed
because no one flushes the work.
So flush the scheduled work to make sure
3 matches
Mail list logo