diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-05-24 10:51:58 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-05-31 04:49:32 -0400 |
commit | 85769cf7cd7f015ac7c8e45ee8a8f7f485c99481 (patch) | |
tree | c403cf45bd39031b5261395bda322f0823346d52 /drivers/gpu/drm/imx/imx-drm-core.c | |
parent | a360b39b513776a5be64c0f7ee9613de121aa990 (diff) |
drm/imx: Drop drm_vblank_cleanup
It's only done in the driver load error path, where vblanks don't need
to be quiescent anyway. And that's all drm_vblank_cleanup does, since
the core will release the vblank allocations on its own already. So
drop it.
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170524145212.27837-24-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/imx/imx-drm-core.c')
-rw-r--r-- | drivers/gpu/drm/imx/imx-drm-core.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c index 50add2f9e250..95e2181963d9 100644 --- a/drivers/gpu/drm/imx/imx-drm-core.c +++ b/drivers/gpu/drm/imx/imx-drm-core.c | |||
@@ -278,7 +278,7 @@ static int imx_drm_bind(struct device *dev) | |||
278 | /* Now try and bind all our sub-components */ | 278 | /* Now try and bind all our sub-components */ |
279 | ret = component_bind_all(dev, drm); | 279 | ret = component_bind_all(dev, drm); |
280 | if (ret) | 280 | if (ret) |
281 | goto err_vblank; | 281 | goto err_kms; |
282 | 282 | ||
283 | drm_mode_config_reset(drm); | 283 | drm_mode_config_reset(drm); |
284 | 284 | ||
@@ -316,8 +316,6 @@ err_fbhelper: | |||
316 | err_unbind: | 316 | err_unbind: |
317 | #endif | 317 | #endif |
318 | component_unbind_all(drm->dev, drm); | 318 | component_unbind_all(drm->dev, drm); |
319 | err_vblank: | ||
320 | drm_vblank_cleanup(drm); | ||
321 | err_kms: | 319 | err_kms: |
322 | drm_mode_config_cleanup(drm); | 320 | drm_mode_config_cleanup(drm); |
323 | err_unref: | 321 | err_unref: |