Subject: Re: [PATCH RFC leds + net-next 4/7] leds: trigger: netdev: support HW offloading

From: Marek Behún <[email-masked]>
Date: Thu, 5 Nov 2020 15:44:20 +0100

On Fri, 30 Oct 2020 12:44:32 +0100
Marek Behún <[email-masked]> 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