summaryrefslogtreecommitdiff
path: root/src/drivers/parade/ps8640
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/parade/ps8640')
-rw-r--r--src/drivers/parade/ps8640/ps8640.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/parade/ps8640/ps8640.c b/src/drivers/parade/ps8640/ps8640.c
index 95965601ec..62bbf635b8 100644
--- a/src/drivers/parade/ps8640/ps8640.c
+++ b/src/drivers/parade/ps8640/ps8640.c
@@ -47,7 +47,7 @@ int ps8640_get_edid(uint8_t bus, uint8_t chip, struct edid *out)
}
}
- if (decode_edid(edid, edid_size, out)) {
+ if (decode_edid(edid, edid_size, out) != EDID_CONFORMANT) {
printk(BIOS_INFO, "Failed to decode EDID.\n");
return -1;
}