]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/cirrus: add missing drm_helper_force_disable_all() call.
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 1 Apr 2019 14:03:06 +0000 (16:03 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 2 Apr 2019 09:00:45 +0000 (11:00 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20190401140306.28063-4-kraxel@redhat.com
drivers/gpu/drm/cirrus/cirrus_mode.c

index 7f9bc32af6854b5b939d7a99338b3dbc9760d730..32ce2c1040b45ced9a59462caf6ad74c04857074 100644 (file)
@@ -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;
        }