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 6134515..4366dc5 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