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-Tag: v4.1-rc1~69^2~37^2~30 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=df78222d78f0f985ffb7917df4a058113e227561;p=karo-tx-linux.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;