Skip to content
Commit 2f6dc79a authored by Neil Armstrong's avatar Neil Armstrong Committed by Anatolij Gustschin
Browse files

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: 1c1ed441 ("edid: add edid_get_timing_validate() variant to filter out edid modes")
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
parent 970baf16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment