Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752240AbdLGWyn (ORCPT ); Thu, 7 Dec 2017 17:54:43 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:50370 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750993AbdLGWyl (ORCPT ); Thu, 7 Dec 2017 17:54:41 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 65B1660581 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Thu, 7 Dec 2017 14:54:39 -0800 From: Stephen Boyd To: srinivas.kandagatla@linaro.org Cc: linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: qcom: gcc-msm8996: always enable aggre0_noc gdsc Message-ID: <20171207225439.GB4283@codeaurora.org> References: <20171207141618.4694-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171207141618.4694-1-srinivas.kandagatla@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1041 Lines: 30 On 12/07, srinivas.kandagatla@linaro.org wrote: > From: Srinivas Kandagatla > > bus clks which depend on this gdsc are marked as critical, > so this patch flags this gdsc ALWAYS_ON so that bus clks status > does not get stuck at on or off. > > Signed-off-by: Srinivas Kandagatla > --- > drivers/clk/qcom/gcc-msm8996.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/qcom/gcc-msm8996.c b/drivers/clk/qcom/gcc-msm8996.c > index 0146d8853488..b2be77469693 100644 > --- a/drivers/clk/qcom/gcc-msm8996.c > +++ b/drivers/clk/qcom/gcc-msm8996.c > @@ -3101,7 +3101,7 @@ static struct gdsc aggre0_noc_gdsc = { > .name = "aggre0_noc", > }, > .pwrsts = PWRSTS_OFF_ON, > - .flags = VOTABLE, > + .flags = VOTABLE | ALWAYS_ON, I dont think this flag has been added yet. Probably this needs to be folded into the other series? -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project