lkml.org 
[lkml]   [2018]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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]
    \
     
     \ /
      Last update: 2018-12-09 20:02    [W:3.848 / U:0.612 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site