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

Commit bce3604e authored by Chris Wilson's avatar Chris Wilson Committed by android-build-merger
Browse files

drm: Cancel drm_fb_helper_dirty_work on unload

am: 9edc456f

Change-Id: Ib6287acc5005f59a643b45741f5f78c7b655a6b7
parents 80252038 9edc456f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -848,6 +848,8 @@ void drm_fb_helper_fini(struct drm_fb_helper *fb_helper)
	if (!drm_fbdev_emulation)
		return;

	cancel_work_sync(&fb_helper->dirty_work);

	if (!list_empty(&fb_helper->kernel_fb_list)) {
		list_del(&fb_helper->kernel_fb_list);
		if (list_empty(&kernel_fb_helper_list)) {