aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2011-10-14 13:29:49 +0900
committerDave Airlie <airlied@redhat.com>2011-10-18 10:01:18 +0100
commit601b44e3db833d28af66d4d6eaf5d353430914d0 (patch)
tree9f92673002b337cc3167baad1ccebdf6e59f0dd3 /drivers/gpu/drm/exynos/exynos_drm_fbdev.c
parent41c243464f2420744f1c14da77e230440c1c31b4 (diff)
downloadvexpress-lsk-601b44e3db833d28af66d4d6eaf5d353430914d0.tar.gz
drm/exynos: fixed bug to exynos_drm_fb_dev_reinit().
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>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_fbdev.c')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_fbdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
index 61345154b6f..4366dc5032e 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
@@ -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