Skip to content

Commit 299676e

Browse files
author
Jyri Sarha
committed
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: Jyri Sarha <[email protected]> Reviewed-by: Tomi Valkeinen <[email protected]>
1 parent 7680684 commit 299676e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/tilcdc/tilcdc_drv.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,6 @@ static int tilcdc_unload(struct drm_device *dev)
200200
{
201201
struct tilcdc_drm_private *priv = dev->dev_private;
202202

203-
tilcdc_crtc_disable(priv->crtc);
204-
205203
tilcdc_remove_external_encoders(dev);
206204

207205
drm_fbdev_cma_fini(priv->fbdev);

0 commit comments

Comments
 (0)