]> git.karo-electronics.de Git - linux-beck.git/commit
drm/tilcdc: Remove unnecessary tilcdc_crtc_disable() from tilcdc_unload()
authorJyri Sarha <jsarha@ti.com>
Tue, 6 Sep 2016 19:16:27 +0000 (22:16 +0300)
committerJyri Sarha <jsarha@ti.com>
Wed, 7 Sep 2016 12:54:42 +0000 (15:54 +0300)
commit7eff0410276374c560e797e7676b7111fed24a3c
treec21716fc6218b0863a83742a431ecf1c95d2749d
parent4e910c7a1860bbc22d06da2f62010ab20a19834f
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>
drivers/gpu/drm/tilcdc/tilcdc_drv.c