On Fri, 30 Oct 2020 12:44:32 +0100
Marek Behún <ka...@kernel.org> wrote:

> +     if (!led_trigger_offload(led_cdev))
> +             return;
> +

The offload method has to read the settings, so this code (better: the
whole set_baseline_state function) has to be always called with the
mutex locked. (I am talking about the mutex which was a spinlock before
this patch.)

I will fix this in next version.

Marek

Reply via email to