drm/tilcdc: Fix module unloading
authorJyri Sarha <jsarha@ti.com>
Thu, 26 Feb 2015 08:12:41 +0000 (10:12 +0200)
committerJyri Sarha <jsarha@ti.com>
Wed, 27 May 2015 10:13:31 +0000 (13:13 +0300)
commitde9cb5f20a50f2811caf909ee254699fd2228910
treeb34dceeca13ef209974f3a947a2870b4dcd14dff
parentba155e2d21f6bf05de86a78dbe5bfd8757604a65
drm/tilcdc: Fix module unloading

Force crtc dpms off before destroying the crtc instead of just
checking the dpms state. This fixes warning message and frozen picture
after tilcdc module unloading.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c