]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: qcom: Register the gdscs before the clocks
authorRajendra Nayak <rnayak@codeaurora.org>
Fri, 23 Mar 2018 08:26:15 +0000 (13:56 +0530)
committerStephen Boyd <sboyd@kernel.org>
Fri, 1 Jun 2018 18:14:52 +0000 (11:14 -0700)
commit31543ebb8aff5efb53464d65221b3a1f7951e99c
treebc94b36363847dab154fcae40d09b140f9e25229
parentfb55bea1fe436b2b00a8bcc0bad69c76409270e8
clk: qcom: Register the gdscs before the clocks

We have atleast some instances of ALWAYS_ON gdscs, which need to
be turned ON *before* some clocks within the gdsc domain marked
with a CLK_IS_CRITICAL can be turned ON.
To facilitate this sequence, register the GDCSs (and hence handle
the ALWAYS_ON gdscs) before we register clocks (and handle the
clocks marked as CLK_IS_CRITICAL)

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/common.c