drm/fsl-dcu: unload driver before disabling clocks
authorStefan Agner <stefan@agner.ch>
Thu, 20 Oct 2016 00:32:20 +0000 (17:32 -0700)
committerStefan Agner <stefan@agner.ch>
Tue, 29 Nov 2016 01:18:33 +0000 (17:18 -0800)
commit39a5019a2c13580f21efc756babccb4c03b6a8ce
treea421730ffe070ea0ae79a6bd218cae00323e6e6a
parent7625e05286cf3f37c8a5e633379a4d014ddbe555
drm/fsl-dcu: unload driver before disabling clocks

Use drm_put_dev to unload the driver before disabling clocks.
Otherwise the driver might read a register during unload which
leads to an external abort.

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