drm/fsl-dcu: disable outputs before unloading driver
authorStefan Agner <stefan@agner.ch>
Thu, 20 Oct 2016 00:32:21 +0000 (17:32 -0700)
committerStefan Agner <stefan@agner.ch>
Tue, 29 Nov 2016 01:18:38 +0000 (17:18 -0800)
commit39c74b515bc2172597f6a85c7310cbf348d66a82
treeccef72df993fce9d9d82311abef759a118fed224
parent39a5019a2c13580f21efc756babccb4c03b6a8ce
drm/fsl-dcu: disable outputs before unloading driver

Make sure that all outputs are disabled before unloading the DRM
driver. Otherwise vblank handling is not shut down properly and
warnings such as this appear:
WARNING: CPU: 0 PID: 540 at drivers/gpu/drm/drm_irq.c:339 drm_vblank_cleanup+0x5c/0x94

Signed-off-by: Stefan Agner <stefan@agner.ch>
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c