summaryrefslogtreecommitdiff
path: root/src/drivers/parade/ps8640/ps8640.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-04-30 08:28:05 +0200
committerNico Huber <nico.h@gmx.de>2017-05-03 16:16:43 +0200
commit8c5884e8d739ed0271da051034f5c4f475a00b55 (patch)
tree6b120a66bed866c6ba8cd0ad0d20e8e7cf2bb896 /src/drivers/parade/ps8640/ps8640.c
parenta459a8a145be0413d540d6cb62f9a1b6ead3175a (diff)
lib/edid.c: Differentiate between absent and non-conformant EDID
Change-Id: Id90aa210ff72092c4ab638a7bafb82bd11889bdc Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/19502 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/drivers/parade/ps8640/ps8640.c')
-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;
}