diff options
author | 2025-01-28 17:08:35 +0530 | |
---|---|---|
committer | 2025-02-14 11:08:22 -0600 | |
commit | 5eac348182d2b5ed1066459abedb7bc6b5466f81 (patch) | |
tree | 13d7a3456b130e6c9478a8723b12b4986837aa2d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | clk: qcom: gcc-sdm660: Add missing SDCC block resets (diff) | |
download | linux-rng-5eac348182d2b5ed1066459abedb7bc6b5466f81.tar.xz linux-rng-5eac348182d2b5ed1066459abedb7bc6b5466f81.zip |
clk: qcom: clk-branch: Fix invert halt status bit check for votable clocks
BRANCH_HALT_ENABLE and BRANCH_HALT_ENABLE_VOTED flags are used to check
halt status of branch clocks, which have an inverted logic for the halt
bit in CBCR register. However, the current logic in the _check_halt()
method only compares the BRANCH_HALT_ENABLE flags, ignoring the votable
branch clocks.
Update the logic to correctly handle the invert logic for votable clocks
using the BRANCH_HALT_ENABLE_VOTED flags.
Fixes: 9092d1083a62 ("clk: qcom: branch: Extend the invert logic for branch2 clocks")
Cc: stable@vger.kernel.org
Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20250128-push_fix-v1-1-fafec6747881@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions