wandboard: Return the error immediately when ipuv3_fb_init() fails
If ipuv3_fb_init() fails, we should return the error immediately. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
parent
ac135f6699
commit
cffe815a76
@ -230,8 +230,10 @@ int board_video_skip(void)
|
||||
|
||||
ret = ipuv3_fb_init(&hdmi, 0, IPU_PIX_FMT_RGB24);
|
||||
|
||||
if (ret)
|
||||
if (ret) {
|
||||
printf("HDMI cannot be configured: %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
imx_enable_hdmi_phy();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user