edid: Undo comparison change from 29d63d6

This commit is contained in:
mintsuki 2022-07-06 04:47:42 +02:00
parent 1c466b37fa
commit 778aba2f36

View File

@ -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));