From 778aba2f362683e196aa7712d6cac4f60c6e20a5 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Wed, 6 Jul 2022 04:47:42 +0200 Subject: [PATCH] edid: Undo comparison change from 29d63d6 --- common/drivers/edid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));