drm: Cancel drm_fb_helper_resume_work on unload

am: 967e17bcc9

Change-Id: I9ec04db6a128317a0cdd70fb15431b8a48c355c4
This commit is contained in:
Chris Wilson
2017-03-15 02:27:05 +00:00
committed by android-build-merger

View File

@@ -848,6 +848,7 @@ void drm_fb_helper_fini(struct drm_fb_helper *fb_helper)
if (!drm_fbdev_emulation)
return;
cancel_work_sync(&fb_helper->resume_work);
cancel_work_sync(&fb_helper->dirty_work);
if (!list_empty(&fb_helper->kernel_fb_list)) {