Selaa lähdekoodia

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 <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Jyri Sarha 9 vuotta sitten
vanhempi
commit
7eff041027
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      drivers/gpu/drm/tilcdc/tilcdc_drv.c

+ 0 - 2
drivers/gpu/drm/tilcdc/tilcdc_drv.c

@@ -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);