Skip to content

Commit

Permalink
drm/tilcdc: Remove unnecessary tilcdc_crtc_disable() from tilcdc_unlo…
Browse files Browse the repository at this point in the history
…ad()

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: Jyri Sarha <[email protected]>
Reviewed-by: Tomi Valkeinen <[email protected]>
  • Loading branch information
Jyri Sarha committed Sep 7, 2016
1 parent 7680684 commit 299676e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/tilcdc/tilcdc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@ static int tilcdc_unload(struct drm_device *dev)
{
struct tilcdc_drm_private *priv = dev->dev_private;

tilcdc_crtc_disable(priv->crtc);

tilcdc_remove_external_encoders(dev);

drm_fbdev_cma_fini(priv->fbdev);
Expand Down

0 comments on commit 299676e

Please sign in to comment.