clk: qcom: Clear hardware clock control bit of RCG
authorAmit Nischal <anischal@codeaurora.org>
Thu, 8 Mar 2018 07:18:12 +0000 (12:48 +0530)
committerStephen Boyd <sboyd@kernel.org>
Mon, 19 Mar 2018 22:55:38 +0000 (15:55 -0700)
commitbdc3bbdd40ba90ce2953af01007036191572720b
treef846c783366d2a33b7385fe87b2162f9bfda5f9e
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
clk: qcom: Clear hardware clock control bit of RCG

For upcoming targets like sdm845, POR value of the hardware clock control
bit is set for most of root clocks which needs to be cleared for software
to be able to control. For older targets like MSM8996, this bit is reserved
bit and having POR value as 0 so this patch will work for the older targets
too. So update the configuration mask to take care of the same to clear
hardware clock control bit.

Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/clk-rcg2.c