diff options
author | Inki Dae <inki.dae@samsung.com> | 2011-10-14 13:29:49 +0900 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-10-18 10:01:18 +0100 |
commit | 601b44e3db833d28af66d4d6eaf5d353430914d0 (patch) | |
tree | 9f92673002b337cc3167baad1ccebdf6e59f0dd3 /drivers/gpu/drm/exynos/exynos_drm_fbdev.c | |
parent | 41c243464f2420744f1c14da77e230440c1c31b4 (diff) | |
download | op-kernel-dev-601b44e3db833d28af66d4d6eaf5d353430914d0.zip op-kernel-dev-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.c | 2 |
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 6134515..4366dc5 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 |