drm: Cancel drm_fb_helper_dirty_work on unload

am: 9edc456fe6

Change-Id: Ib6287acc5005f59a643b45741f5f78c7b655a6b7
This commit is contained in:
Chris Wilson
2017-03-15 02:26:56 +00:00
committed by android-build-merger

View File

@@ -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)) {