msm_fb: display: release mdp clk in mdp4_overlay_writeback_on()

mdp clk is not released in mdp4_overlay_writeback_on()

CRs-fixed: 433986

Change-Id: Ida121e03b0f08ca312c60fb8d945fe2011df853f
Signed-off-by: Mayank Goyal <goyalm@codeaurora.org>
This commit is contained in:
Mayank Goyal 2013-01-16 13:59:16 +05:30 committed by Stephen Boyd
parent fae0afd7be
commit 086318c02f

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. /* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and * it under the terms of the GNU General Public License version 2 and
@ -132,6 +132,7 @@ int mdp4_overlay_writeback_on(struct platform_device *pdev)
pipe = mdp4_overlay_pipe_alloc(OVERLAY_TYPE_BF, MDP4_MIXER2); pipe = mdp4_overlay_pipe_alloc(OVERLAY_TYPE_BF, MDP4_MIXER2);
if (pipe == NULL) { if (pipe == NULL) {
pr_info("%s: pipe_alloc failed\n", __func__); pr_info("%s: pipe_alloc failed\n", __func__);
mdp_clk_ctrl(0);
return -EIO; return -EIO;
} }
pipe->pipe_used++; pipe->pipe_used++;