summaryrefslogtreecommitdiff
path: root/drivers/video/mxsfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/mxsfb.c')
-rw-r--r--drivers/video/mxsfb.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index 838c037e5b..f3f31f796b 100644
--- a/drivers/video/mxsfb.c
+++ b/drivers/video/mxsfb.c
@@ -299,8 +299,13 @@ void *video_hw_init(void)
printf("%s\n", panel.modeIdent);
#ifdef CONFIG_IMX_MIPI_DSI_BRIDGE
+ int dsi_ret;
imx_mipi_dsi_bridge_mode_set(&fbmode);
- imx_mipi_dsi_bridge_enable();
+ dsi_ret = imx_mipi_dsi_bridge_enable();
+ if (dsi_ret) {
+ printf("Enable DSI bridge failed, err %d\n", dsi_ret);
+ return NULL;
+ }
#endif
/* Start framebuffer */