[PATCH 2/2] reset: fix reset_get_by_index_nodev index handling

Tom Rini trini at konsulko.com
Tue Apr 27 18:46:21 CEST 2021

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 <ty3uk at mail.ua>
> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210427/039d55c5/attachment.sig>

More information about the U-Boot mailing list