
16 Jul
2018
16 Jul
'18
7:20 a.m.
On 13 July 2018 at 09:21, Patrick Delaunay patrick.delaunay@st.com 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 patrick.delaunay@st.com
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 sjg@chromium.org