diff options
Diffstat (limited to 'src/soc/mediatek/common/dp/dptx.c')
-rw-r--r-- | src/soc/mediatek/common/dp/dptx.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/soc/mediatek/common/dp/dptx.c b/src/soc/mediatek/common/dp/dptx.c index f2c0905cc4..08d288acf8 100644 --- a/src/soc/mediatek/common/dp/dptx.c +++ b/src/soc/mediatek/common/dp/dptx.c @@ -1111,7 +1111,10 @@ int mtk_edp_init(struct edid *edid) dptx_check_sinkcap(&mtk_edp); - dptx_get_edid(&mtk_edp, edid); + if (dptx_get_edid(&mtk_edp, edid) != 0) { + printk(BIOS_ERR, "Failed to get EDID\n"); + return -1; + } dptx_set_trainingstart(&mtk_edp); dp_intf_config(edid); |