]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/exynos: fixed bug to exynos_drm_fb_dev_reinit().
authorInki Dae <inki.dae@samsung.com>
Fri, 14 Oct 2011 04:29:49 +0000 (13:29 +0900)
committerDave Airlie <airlied@redhat.com>
Tue, 18 Oct 2011 09:01:18 +0000 (10:01 +0100)
this patch solves the problem that fb_helper is released
when exynos_drm_fbdev_reinit() was called. if this function call
is ok then just return.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/exynos/exynos_drm_fbdev.c

index 61345154b6f5e1ec2c83e9435626fb55ea20e88f..4366dc5032ef862c3f96ef0d03ff77255bfb93af 100644 (file)
@@ -432,6 +432,8 @@ int exynos_drm_fbdev_reinit(struct drm_device *dev)
                return exynos_drm_fbdev_init(dev);
        }
 
+       return ret;
+
 err:
        /*
         * if drm_load() failed when drm load() was called prior