On 13 July 2018 at 09:21, Patrick Delaunay <[email protected]> wrote: > This patch save common LED property "default-state" value > in post bind of LED uclass. > The configuration for this default state is only performed when > led_default_state() is called; > It can be called in your board_init() > or it could added in init_sequence_r[] in future. > > Signed-off-by: Patrick Delaunay <[email protected]> > --- > > drivers/led/led-uclass.c | 54 > ++++++++++++++++++++++++++++++++++++++++++++++++ > drivers/led/led_gpio.c | 8 ------- > include/led.h | 23 +++++++++++++++++++++ > 3 files changed, 77 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

