summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/edid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/edid.c b/common/edid.c
index f244d26e04..f99f42dc40 100644
--- a/common/edid.c
+++ b/common/edid.c
@@ -202,7 +202,9 @@ int edid_get_timing_validate(u8 *buf, int buf_size,
timing);
else
timing_done = true;
- break;
+
+ if (timing_done)
+ break;
}
}
if (!timing_done)