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>
master
Fabio Estevam 11 years ago committed by Stefano Babic
parent ac135f6699
commit cffe815a76
  1. 4
      board/wandboard/wandboard.c

@ -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…
Cancel
Save