mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
edid: fix edid_get_timing_validate() mode_valid lookup
Add a condition to the break in the modes lookup, without this
when the first mode is not valid, then edid_get_timing_validate()
return an error instead of checking the next modes.
Fixes: 1c1ed441b0
("edid: add edid_get_timing_validate() variant to filter out edid modes")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
committed by
Anatolij Gustschin
parent
970baf16d1
commit
2f6dc79a4f
@@ -202,7 +202,9 @@ int edid_get_timing_validate(u8 *buf, int buf_size,
|
|||||||
timing);
|
timing);
|
||||||
else
|
else
|
||||||
timing_done = true;
|
timing_done = true;
|
||||||
break;
|
|
||||||
|
if (timing_done)
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!timing_done)
|
if (!timing_done)
|
||||||
|
Reference in New Issue
Block a user