drm/fsl-dcu: disable clock on initialization failure and remove
authorStefan Agner <stefan@agner.ch>
Tue, 22 Mar 2016 22:13:05 +0000 (15:13 -0700)
committerStefan Agner <stefan@agner.ch>
Tue, 26 Apr 2016 03:27:18 +0000 (20:27 -0700)
commit73fa30337a936695eeebecfa2c48ff567361c793
tree10ad2d578aec251b59e2078fd138416bf9a235c7
parent027b3f8ba9277410c3191d72d1ed2c6146d8a668
drm/fsl-dcu: disable clock on initialization failure and remove

Fix error handling during probe by reordering initialization and
adding a error path which disables clock again. Also disable the
clock on remove.

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