Commit 7eff0410 authored by Jyri Sarha's avatar Jyri Sarha

drm/tilcdc: Remove unnecessary tilcdc_crtc_disable() from tilcdc_unload()

Remove unnecessary tilcdc_crtc_disable() from tilcdc_unload(). The
tilcdc_crtc_disable() called via tilcdc_crtc_destroy() by
drm_mode_config_cleanup() couple of lines later.

The early call to tilcdc_crtc_disable() was a wrong fix (that worked)
for calling drm_flip_work_cleanup() before flushing the flip-work
queue.
Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
Reviewed-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 4e910c7a
...@@ -200,8 +200,6 @@ static int tilcdc_unload(struct drm_device *dev) ...@@ -200,8 +200,6 @@ static int tilcdc_unload(struct drm_device *dev)
{ {
struct tilcdc_drm_private *priv = dev->dev_private; struct tilcdc_drm_private *priv = dev->dev_private;
tilcdc_crtc_disable(priv->crtc);
tilcdc_remove_external_encoders(dev); tilcdc_remove_external_encoders(dev);
drm_fbdev_cma_fini(priv->fbdev); drm_fbdev_cma_fini(priv->fbdev);
......
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