[PATCH v2 0/6] BCM2835 / simple framebuffer support

Alexander Aring alex.aring at gmail.com
Wed Nov 6 05:04:02 EST 2013


Hi Sascha,

On Wed, Nov 06, 2013 at 10:46:28AM +0100, Sascha Hauer wrote:
> Hi Andre,
> @@ -163,6 +163,13 @@ int register_framebuffer(struct fb_info *info)
>  	if (ret)
>  		goto err_unregister;
>  
> +	if (IS_ENABLED(CONFIG_DRIVER_VIDEO_SIMPLEFB)) {
> +		ret = fb_register_simplefb(info);
> +		if (ret)
> +			dev_err(&info->dev, "failed to register simplefb: %s\n",
> +					strerror(-ret));
maybe we should return ret here?

> +	}
> +
>  	return 0;
>  
>  err_unregister:
> diff --git a/drivers/video/simplefb.c b/drivers/video/simplefb.c

- Alex



More information about the barebox mailing list