When no monitor is connected it might be normal that no modes are found. Do not bail out with an error in this case, which gives an ugly error message, but instead still register the framebuffer. This gives the user a chance to examine it and see that the framebuffer has no modes. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/video/imx-ipu-v3/ipufb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/video/imx-ipu-v3/ipufb.c b/drivers/video/imx-ipu-v3/ipufb.c index 4781c45098..9597eda0d0 100644 --- a/drivers/video/imx-ipu-v3/ipufb.c +++ b/drivers/video/imx-ipu-v3/ipufb.c @@ -333,10 +333,8 @@ static int ipufb_probe(struct device_d *dev) } ret = vpl_ioctl(&fbi->vpl, 2 + fbi->dino, VPL_GET_VIDEOMODES, &info->modes); - if (ret) { + if (ret) dev_dbg(fbi->dev, "failed to get modes: %s\n", strerror(-ret)); - return ret; - } ret = register_framebuffer(info); if (ret < 0) { -- 2.11.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox