From: Gerd Hoffmann Date: Mon, 1 Apr 2019 14:03:05 +0000 (+0200) Subject: drm/bochs: add missing drm_atomic_helper_shutdown() call. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=175d176a1a6ff247d1aa6c1576e66f79a07da353;p=openwrt%2Fstaging%2Fblogic.git drm/bochs: add missing drm_atomic_helper_shutdown() call. Signed-off-by: Gerd Hoffmann Reviewed-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/20190401140306.28063-3-kraxel@redhat.com --- diff --git a/drivers/gpu/drm/bochs/bochs_kms.c b/drivers/gpu/drm/bochs/bochs_kms.c index 9e7cd6b34106..93cb27f93d39 100644 --- a/drivers/gpu/drm/bochs/bochs_kms.c +++ b/drivers/gpu/drm/bochs/bochs_kms.c @@ -293,6 +293,7 @@ int bochs_kms_init(struct bochs_device *bochs) void bochs_kms_fini(struct bochs_device *bochs) { if (bochs->mode_config_initialized) { + drm_atomic_helper_shutdown(bochs->dev); drm_mode_config_cleanup(bochs->dev); bochs->mode_config_initialized = false; }