From: Laurent Pinchart Date: Fri, 20 Feb 2015 20:35:52 +0000 (+0200) Subject: drm: rcar-du: Remove drm_fbdev_cma_restore_mode() call at init time X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=df78222d78f0f985ffb7917df4a058113e227561;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm: rcar-du: Remove drm_fbdev_cma_restore_mode() call at init time The function is meant to restore the fbdev mode in the lastclose handler, not to be called at init time. Remove the call. Signed-off-by: Laurent Pinchart --- diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.c b/drivers/gpu/drm/rcar-du/rcar_du_kms.c index 1ea2c1e9cb79..aebbcde82ddf 100644 --- a/drivers/gpu/drm/rcar-du/rcar_du_kms.c +++ b/drivers/gpu/drm/rcar-du/rcar_du_kms.c @@ -453,10 +453,6 @@ int rcar_du_modeset_init(struct rcar_du_device *rcdu) if (IS_ERR(fbdev)) return PTR_ERR(fbdev); -#ifndef CONFIG_FRAMEBUFFER_CONSOLE - drm_fbdev_cma_restore_mode(fbdev); -#endif - rcdu->fbdev = fbdev; return 0;