[U-Boot] [U-Boot, 3/4] dm: led: move default state support in led uclass

Tom Rini trini at konsulko.com
Fri Jul 20 13:54:10 UTC 2018


On Fri, Jul 13, 2018 at 05:21:10PM +0200, Patrick Delaunay 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 at st.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Making the change like this breaks (and leaves broken) the default state
test in test/dm/led.c so 'make tests' fails.  Please rework the series
to include fixing the test, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180720/368f67ca/attachment.sig>


More information about the U-Boot mailing list