From: Inki Dae Date: Fri, 14 Oct 2011 04:29:49 +0000 (+0900) Subject: drm/exynos: fixed bug to exynos_drm_fb_dev_reinit(). X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=601b44e3db833d28af66d4d6eaf5d353430914d0;p=linux-beck.git 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 Signed-off-by: Kyungmin Park Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c index 61345154b6f5..4366dc5032ef 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