Re: [PATCH] leds: class: ensure workqueue is initialized before setting brightness

From: Pavel Machek
Date: Thu May 24 2018 - 07:06:21 EST


On Wed 2018-05-23 23:22:21, Luis Henriques wrote:
> An application can try to set brightness before all the initialization is
> done, in particular before the workqueue is initialized with the call to
> led_init_core(). Here's a WARNING easy to trigger:

Acked-by: Pavel Machek <pavel@xxxxxx>

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature