Messages in this thread | | | Date | Thu, 24 May 2018 13:58:55 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH] leds: class: ensure workqueue is initialized before setting brightness |
| |
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@ucw.cz>
-- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html [unhandled content-type:application/pgp-signature] | |