commit | be59d61e348a3a5c8ae1ddf21465327dc5c05979 | [log] [tgz] |
---|---|---|
author | Neil Armstrong <narmstrong@baylibre.com> | Mon Jul 29 15:35:18 2019 +0200 |
committer | Anatolij Gustschin <agust@denx.de> | Mon Jul 29 19:14:58 2019 +0200 |
tree | 9d3830943aec17bf9210af7d03e4f20bdc7df823 | |
parent | 26d33e5ce46a77cf2818829dabdff2256c678511 [diff] |
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: 1c1ed441b0d1 ("edid: add edid_get_timing_validate() variant to filter out edid modes") Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>