aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-05-24 10:51:53 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-06-01 05:43:41 -0400
commit991dca01dd6719d1dd1bd4c39f5a12680c74b15e (patch)
tree2a23b6831825666cdf41b0588366d5a3f548cc77
parent21774f21dc673043c777a56c5dd0ea4e88c256d3 (diff)
drm/exynos: Drop drm_vblank_cleanup
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
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_drv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c
index 99f0e67694d2..35a8dfc93836 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c
@@ -378,7 +378,7 @@ static int exynos_drm_bind(struct device *dev)
378 /* Probe non kms sub drivers and virtual display driver. */ 378 /* Probe non kms sub drivers and virtual display driver. */
379 ret = exynos_drm_device_subdrv_probe(drm); 379 ret = exynos_drm_device_subdrv_probe(drm);
380 if (ret) 380 if (ret)
381 goto err_cleanup_vblank; 381 goto err_unbind_all;
382 382
383 drm_mode_config_reset(drm); 383 drm_mode_config_reset(drm);
384 384
@@ -409,8 +409,6 @@ err_cleanup_fbdev:
409 exynos_drm_fbdev_fini(drm); 409 exynos_drm_fbdev_fini(drm);
410 drm_kms_helper_poll_fini(drm); 410 drm_kms_helper_poll_fini(drm);
411 exynos_drm_device_subdrv_remove(drm); 411 exynos_drm_device_subdrv_remove(drm);
412err_cleanup_vblank:
413 drm_vblank_cleanup(drm);
414err_unbind_all: 412err_unbind_all:
415 component_unbind_all(drm->dev, drm); 413 component_unbind_all(drm->dev, drm);
416err_mode_config_cleanup: 414err_mode_config_cleanup: