diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2021-04-20 10:42:26 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-04-28 10:05:13 +0200 |
commit | b669db869bd91c5d4da63dbda11e3414b04c5647 (patch) | |
tree | 091c1c0638bb2ba4ea93f8e06ea7c3a52557fe73 /configs | |
parent | 49f352dc331dc5dd91bd1120d08ff46b07d4994b (diff) | |
download | u-boot-b669db869bd91c5d4da63dbda11e3414b04c5647.tar.gz |
reset: fix reset_get_by_index_nodev index handling
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@mail.ua>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions