aboutsummaryrefslogtreecommitdiff
path: root/src/soc/rockchip/rk3288
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/rockchip/rk3288')
-rw-r--r--src/soc/rockchip/rk3288/hdmi.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/soc/rockchip/rk3288/hdmi.c b/src/soc/rockchip/rk3288/hdmi.c
index a7a9c400d3..e5bebe37f5 100644
--- a/src/soc/rockchip/rk3288/hdmi.c
+++ b/src/soc/rockchip/rk3288/hdmi.c
@@ -788,11 +788,10 @@ int rk_hdmi_get_edid(struct edid *edid)
edid_size += HDMI_EDID_BLOCK_SIZE;
}
- ret = decode_edid(edid_buf, edid_size, edid);
- if (ret) {
+ /* Assume usage of HDMI implies an external display in which case
+ * we should be lenient about errors that the EDID decoder finds. */
+ if (decode_edid(edid_buf, edid_size, edid))
hdmi_debug("failed to decode edid.\n");
- return -1;
- }
return 0;
}