From: Gerd Hoffmann Date: Mon, 1 Apr 2019 14:03:06 +0000 (+0200) Subject: drm/cirrus: add missing drm_helper_force_disable_all() call. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e543e0293ca2cd72c7d3a16bdc675c25ed6ce520;p=openwrt%2Fstaging%2Fblogic.git drm/cirrus: add missing drm_helper_force_disable_all() call. Signed-off-by: Gerd Hoffmann Reviewed-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/20190401140306.28063-4-kraxel@redhat.com --- diff --git a/drivers/gpu/drm/cirrus/cirrus_mode.c b/drivers/gpu/drm/cirrus/cirrus_mode.c index 7f9bc32af685..32ce2c1040b4 100644 --- a/drivers/gpu/drm/cirrus/cirrus_mode.c +++ b/drivers/gpu/drm/cirrus/cirrus_mode.c @@ -615,6 +615,7 @@ void cirrus_modeset_fini(struct cirrus_device *cdev) cirrus_fbdev_fini(cdev); if (cdev->mode_info.mode_config_initialized) { + drm_helper_force_disable_all(cdev->dev); drm_mode_config_cleanup(cdev->dev); cdev->mode_info.mode_config_initialized = false; }