drm/tilcdc: Flush flip-work workqueue before drm_flip_work_cleanup()
authorJyri Sarha <jsarha@ti.com>
Tue, 6 Sep 2016 19:55:33 +0000 (22:55 +0300)
committerJyri Sarha <jsarha@ti.com>
Wed, 7 Sep 2016 12:54:41 +0000 (15:54 +0300)
Flush flip-work workqueue before drm_flip_work_cleanup(). It causes a
nasty warning if there is unfinished flip-work in the queue when
drm_flip_work_cleanup() is called. The flush_workqueue() has to be
called before drm_crtc_cleanup() for unref_worker() to be able to do
its job.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

No differences found