From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 27 Apr 2021 12:46:21 -0400 Subject: [PATCH 2/2] reset: fix reset_get_by_index_nodev index handling In-Reply-To: <20210420084226.2996654-3-narmstrong@baylibre.com> References: <20210420084226.2996654-1-narmstrong@baylibre.com> <20210420084226.2996654-3-narmstrong@baylibre.com> Message-ID: <20210427164621.GV17669@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 Tue, Apr 20, 2021 at 10:42:26AM +0200, Neil Armstrong wrote: > This fixes an issue getting resets index 1 and 3+, the spurius "> 0" > made it return the index 0 or 1, whatever index was passed. > > The dm_test_reset_base() did not catch it, but the dm_test_reset_base() extension > catches it and this fixes the regression. > > This also fixes a reggression on Amlogic G12A/G12B SoCs, where HDMI output was disable > even when Linux was booting. > > Fixes: ea9dc35aab ("reset: Get the RESET by index without device") > Reported-by: B1oHazard > Signed-off-by: Neil Armstrong Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: