From: Tom Rini Date: Fri, 20 Jul 2018 09:54:10 -0400 Subject: [U-Boot] [U-Boot, 3/4] dm: led: move default state support in led uclass In-Reply-To: <1531495271-19774-4-git-send-email-patrick.delaunay@st.com> References: <1531495271-19774-4-git-send-email-patrick.delaunay@st.com> Message-ID: <20180720135410.GA18732@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Simon Glass 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: