clk: qcom: mmcc-msm8998: Add hardware clockgating registers to some clks
[ Upstream commit fa92f3b0 ] Hardware clock gating is supported on some of the clocks declared in there: ignoring that it does exist may lead to unstabilities on some firmwares. Add the HWCG registers where applicable to stop potential crashes. This was verified on a smartphone shipped with a recent MSM8998 firmware, which will experience random crashes without this change. Signed-off-by:AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Link: https://lore.kernel.org/r/20210114221059.483390-9-angelogioacchino.delregno@somainline.org Signed-off-by:
Stephen Boyd <sboyd@kernel.org> Stable-dep-of: 9906c414 ("clk: qcom: mmcc-msm8998: Don't check halt bit on some branch clks") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading