[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201105154420.2108448d@kernel.org>
Date:   Thu, 5 Nov 2020 15:44:20 +0100
From:   Marek BehĂșn <kabel@...nel.org>
To:     netdev@...r.kernel.org
Cc:     linux-leds@...r.kernel.org, Pavel Machek <pavel@....cz>,
        Dan Murphy <dmurphy@...com>,
        Russell King <linux@...linux.org.uk>,
        Andrew Lunn <andrew@...n.ch>,
        Matthias Schiffer <matthias.schiffer@...tq-group.com>,
        "David S. Miller" <davem@...emloft.net>,
        Jacek Anaszewski <jacek.anaszewski@...il.com>,
        Ben Whitten <ben.whitten@...il.com>
Subject: Re: [PATCH RFC leds + net-next 4/7] leds: trigger: netdev: support
 HW offloading
On Fri, 30 Oct 2020 12:44:32 +0100
Marek BehĂșn <kabel@...nel.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
Powered by blists - more mailing lists
 
