aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c
index b92595c477ef..8bd29075ae4e 100644
--- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c
+++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c
@@ -122,6 +122,7 @@ static int hibmc_drm_fb_create(struct drm_fb_helper *helper,
122 hi_fbdev->fb = hibmc_framebuffer_init(priv->dev, &mode_cmd, gobj); 122 hi_fbdev->fb = hibmc_framebuffer_init(priv->dev, &mode_cmd, gobj);
123 if (IS_ERR(hi_fbdev->fb)) { 123 if (IS_ERR(hi_fbdev->fb)) {
124 ret = PTR_ERR(hi_fbdev->fb); 124 ret = PTR_ERR(hi_fbdev->fb);
125 hi_fbdev->fb = NULL;
125 DRM_ERROR("failed to initialize framebuffer: %d\n", ret); 126 DRM_ERROR("failed to initialize framebuffer: %d\n", ret);
126 goto out_release_fbi; 127 goto out_release_fbi;
127 } 128 }