Unverified Commit 6883c2cf authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!14620 drm: zynqmp_kms: Unplug DRM device before removal

parents be14debc 6df515c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -264,7 +264,7 @@ static int zynqmp_dpsub_remove(struct platform_device *pdev)
	struct zynqmp_dpsub *dpsub = platform_get_drvdata(pdev);
	struct drm_device *drm = &dpsub->drm;

	drm_dev_unregister(drm);
	drm_dev_unplug(drm);
	drm_atomic_helper_shutdown(drm);
	drm_kms_helper_poll_fini(drm);