mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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:
parent
fae0afd7be
commit
086318c02f
1 changed files with 2 additions and 1 deletions
|
@ -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++;
|
||||||
|
|
Loading…
Reference in a new issue