Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df78222d authored by Laurent Pinchart's avatar Laurent Pinchart
Browse files

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: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
parent 0e211da8
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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;