summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tilcdc
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2016-09-06 21:16:27 +0200
committerJyri Sarha <jsarha@ti.com>2016-09-07 14:54:42 +0200
commit7eff0410276374c560e797e7676b7111fed24a3c (patch)
treec21716fc6218b0863a83742a431ecf1c95d2749d /drivers/gpu/drm/tilcdc
parentdrm/tilcdc: Flush flip-work workqueue before drm_flip_work_cleanup() (diff)
downloadlinux-7eff0410276374c560e797e7676b7111fed24a3c.tar.xz
linux-7eff0410276374c560e797e7676b7111fed24a3c.zip
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>
Diffstat (limited to 'drivers/gpu/drm/tilcdc')
-rw-r--r--drivers/gpu/drm/tilcdc/tilcdc_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
index 52ff3e120bb9..1981ae9c80a1 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
+++ b/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);