:: commit 778aba2f362683e196aa7712d6cac4f60c6e20a5

mintsuki <mintsuki@protonmail.com> — 2022-07-06 02:47

parents: 1c466b37fa

edid: Undo comparison change from 29d63d6

diff --git a/common/drivers/edid.c b/common/drivers/edid.c
index 79a70a07..f1247325 100644
--- a/common/drivers/edid.c
+++ b/common/drivers/edid.c
@@ -80,7 +80,7 @@ struct edid_info_struct *get_edid_info(void) {
     if (status)
         goto fail;
 
-    if (edid->SizeOfEdid != sizeof(struct edid_info_struct))
+    if (edid->SizeOfEdid < sizeof(struct edid_info_struct))
         goto fail;
 
     memcpy(buf, edid->Edid, sizeof(struct edid_info_struct));
tab: 248 wrap: offon