]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/exynos: Drop drm_vblank_cleanup
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 May 2017 14:51:53 +0000 (16:51 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 1 Jun 2017 09:43:41 +0000 (11:43 +0200)
Only in the load failure path, where the hardware is quiet anyway.

Cc: Inki Dae <inki.dae@samsung.com>
Cc: Joonyoung Shim <jy0922.shim@samsung.com>
Cc: Seung-Woo Kim <sw0312.kim@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170524145212.27837-19-daniel.vetter@ffwll.ch
drivers/gpu/drm/exynos/exynos_drm_drv.c

index 99f0e67694d21105a3a2db9faad6164b40046ab8..35a8dfc93836d83f0223d3e030dea597d57abb55 100644 (file)
@@ -378,7 +378,7 @@ static int exynos_drm_bind(struct device *dev)
        /* Probe non kms sub drivers and virtual display driver. */
        ret = exynos_drm_device_subdrv_probe(drm);
        if (ret)
-               goto err_cleanup_vblank;
+               goto err_unbind_all;
 
        drm_mode_config_reset(drm);
 
@@ -409,8 +409,6 @@ err_cleanup_fbdev:
        exynos_drm_fbdev_fini(drm);
        drm_kms_helper_poll_fini(drm);
        exynos_drm_device_subdrv_remove(drm);
-err_cleanup_vblank:
-       drm_vblank_cleanup(drm);
 err_unbind_all:
        component_unbind_all(drm->dev, drm);
 err_mode_config_cleanup: