diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2025-02-12 21:01:35 +0100 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2025-02-14 09:15:27 -0600 |
commit | 7a243e1b814a02ab40793026ef64223155d86395 (patch) | |
tree | ae0a6ba4b30a97382691a7439704915c66a02093 /scripts/lib/kdoc/kdoc_files.py | |
parent | b489235b4dc01ff2b53995c03f30726fb1ea8005 (diff) |
clk: qcom: clk-alpha-pll: Do not use random stack value for recalc rate
If regmap_read() fails, random stack value was used in calculating new
frequency in recalc_rate() callbacks. Such failure is really not
expected as these are all MMIO reads, however code should be here
correct and bail out. This also avoids possible warning on
uninitialized value.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250212-b4-clk-qcom-clean-v3-1-499f37444f5d@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions