Messages in this thread | | | Date | Sun, 9 Dec 2018 20:01:33 +0100 | From | Pavel Machek <> | Subject | Re: [PATCH 2/2] led: triggers: Add LED_INIT_DEFAULT_TRIGGER flag |
| |
On Sun 2018-12-09 19:49:42, Jacek Anaszewski wrote: > Add the flag LED_INIT_DEFAULT_TRIGGER for indicating that trigger > being set is a default trigger for the LED class device, and > thus it should be initialized with settings provided in the fwnode. > > Set the flag in the led_trigger_set_default(). It is expected to be > cleared in the activate() op of a trigger after trigger fwnode > initialization data is parsed and applied. This should happen only > once after LED class device registration, to allow leaving triggers > in the idle state on re-apply and let the users apply their own > settings without being interfered with the default ones. > > Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Aha, I see the user now. Sorry for the noise.
Acked-by: Pavel Machek <pavel@ucw.cz> Pavel -- (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] | |