mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue