drm/atmel: Drop drm_vblank_cleanup
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 May 2017 14:51:52 +0000 (16:51 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 31 May 2017 08:57:08 +0000 (10:57 +0200)
Again almost correct, but since interrupts are shut down after vblank
still a race. Proper cleanup would call drm_atomic_helper_shutdown to
make sure this really is safe.

v2: Remove misplace malidp hunk (Liviu).

Cc: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170524145212.27837-18-daniel.vetter@ffwll.ch
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c

index f4a3065..288dd4b 100644 (file)
@@ -678,7 +678,6 @@ static void atmel_hlcdc_dc_unload(struct drm_device *dev)
        flush_workqueue(dc->wq);
        drm_kms_helper_poll_fini(dev);
        drm_mode_config_cleanup(dev);
-       drm_vblank_cleanup(dev);
 
        pm_runtime_get_sync(dev->dev);
        drm_irq_uninstall(dev);