Commit 85769cf7 authored by Daniel Vetter's avatar Daniel Vetter

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: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170524145212.27837-24-daniel.vetter@ffwll.ch
parent a360b39b
...@@ -278,7 +278,7 @@ static int imx_drm_bind(struct device *dev) ...@@ -278,7 +278,7 @@ static int imx_drm_bind(struct device *dev)
/* Now try and bind all our sub-components */ /* Now try and bind all our sub-components */
ret = component_bind_all(dev, drm); ret = component_bind_all(dev, drm);
if (ret) if (ret)
goto err_vblank; goto err_kms;
drm_mode_config_reset(drm); drm_mode_config_reset(drm);
...@@ -316,8 +316,6 @@ static int imx_drm_bind(struct device *dev) ...@@ -316,8 +316,6 @@ static int imx_drm_bind(struct device *dev)
err_unbind: err_unbind:
#endif #endif
component_unbind_all(drm->dev, drm); component_unbind_all(drm->dev, drm);
err_vblank:
drm_vblank_cleanup(drm);
err_kms: err_kms:
drm_mode_config_cleanup(drm); drm_mode_config_cleanup(drm);
err_unref: err_unref:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment