diff options
| author | 2026-09-16 14:55:46 +0300 | |
|---|---|---|
| committer | 2026-10-13 09:49:40 -0500 | |
| commit | c5f338329a2d0d60f7874aa7a1addaa0e4e75a3b (patch) | |
| tree | 397b4d6e5f9d2132fd7eba9b8847a828e37b8c17 /scripts/Makefile.thinlto | |
| parent | clk: qcom: mmcc-msm8996: Fix FD AHB clock register offset (diff) | |
clk: qcom: mmcc-sdm660: Fix MDSS AHB clock HWCG register offset
The MDSS AHB clock HWCG bit resides in the same register as the branch
enable and halt status bits, at offset 0x2308. The current HWCG register
offset of 0x8a004 exceeds the regmap maximum of 0x40000, so regmap rejects
the read in clk_branch_in_hwcg_mode(). Since the read error is ignored,
the helper uses an uninitialized value to decide whether to skip the
halt status check.
Correct the HWCG register offset so the helper reads the actual hardware
clock gating state.
Fixes: 5db3ae8b33de ("clk: qcom: Add SDM660 Multimedia Clock Controller (MMCC) driver")
Assisted-by: LLM
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260916-clk-qcom-mmcc-sdm660-fix-mdss-ahb-hwcg-offset-v1-1-30dcf09d907c@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
