diff options
author | 2025-07-23 10:59:56 +0530 | |
---|---|---|
committer | 2025-07-24 19:36:15 -0700 | |
commit | c60b95389d0206a3a3c087c09113315e7084be3f (patch) | |
tree | fd2e8ad1ad85f94899605f4583945a8a7b103101 /tools/perf/scripts/python | |
parent | Merge tag 'spacemit-clk-for-6.17-1' of https://github.com/spacemit-com/linux into clk-spacemit (diff) | |
download | wireguard-linux-c60b95389d0206a3a3c087c09113315e7084be3f.tar.xz wireguard-linux-c60b95389d0206a3a3c087c09113315e7084be3f.zip |
clk: spacemit: ccu_pll: fix error return value in recalc_rate callback
Return 0 instead of -EINVAL if function ccu_pll_recalc_rate() fails to
get correct rate entry. Follow .recalc_rate callback documentation
as mentioned in include/linux/clk-provider.h for error return value.
Signed-off-by: Akhilesh Patil <akhilesh@ee.iitb.ac.in>
Fixes: 1b72c59db0add ("clk: spacemit: Add clock support for SpacemiT K1 SoC")
Reviewed-by: Haylen Chu <heylenay@4d2.org>
Reviewed-by: Alex Elder <elder@riscstar.com>
Link: https://lore.kernel.org/r/aIBzVClNQOBrjIFG@bhairav-test.ee.iitb.ac.in
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions