From 355786d15d3ba8d897354c75a57b7194e2aae6e9 Mon Sep 17 00:00:00 2001 From: Siddhartha Agrawal Date: Wed, 7 Dec 2016 15:40:38 -0800 Subject: [PATCH] msm: mdss: dp: correctly ref count the pll resources This fixes the issue where the dp pll resource was not correctly keeping a refcount on the pll resource. This will fix the bootup warning when both DSI and DP are enabled. Crs-Fixed: 1088737 Change-Id: I19f8eef7f664a58cac1a082b8195e48c52613c5d Signed-off-by: Siddhartha Agrawal --- drivers/clk/msm/mdss/mdss-dp-pll-8998-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/msm/mdss/mdss-dp-pll-8998-util.c b/drivers/clk/msm/mdss/mdss-dp-pll-8998-util.c index c13ff563c8bf..0bd7e6413a6b 100644 --- a/drivers/clk/msm/mdss/mdss-dp-pll-8998-util.c +++ b/drivers/clk/msm/mdss/mdss-dp-pll-8998-util.c @@ -836,8 +836,8 @@ enum handoff dp_vco_handoff(struct clk *c) io->handoff_resources = true; ret = HANDOFF_ENABLED_CLK; } else { - io->handoff_resources = false; mdss_pll_resource_enable(io, false); + ret = HANDOFF_DISABLED_CLK; DEV_DBG("%s: PLL not locked\n", __func__); } -- 2.11.0