drm/fsl-dcu: disable clock on error path
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 22 Aug 2016 02:22:54 +0000 (23:22 -0300)
committerStefan Agner <stefan@agner.ch>
Mon, 5 Sep 2016 19:32:55 +0000 (12:32 -0700)
commite0dc7c837dd0f514abce47101c04ce0ce243188e
tree4a5d57cb6f404adbd72e61e6792f641eb2881755
parentacd4d615bc5b4035a542ea3458fdee3b5d6f0f78
drm/fsl-dcu: disable clock on error path

In fsl_dcu_drm_pm_resume() we should disable the previously enabled
clock (fsl_dev->clk) when enabling fsl_dev->pix_clk fails.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Stefan Agner <stefan@agner.ch>
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c