summaryrefslogtreecommitdiffstats
path: root/Documentation/riscv
diff options
context:
space:
mode:
authorTimo Alho <talho@nvidia.com>2023-09-12 14:29:50 +0300
committerStephen Boyd <sboyd@kernel.org>2023-09-12 10:56:05 -0700
commita47b44fbb13f5e7a981b4515dcddc93a321ae89c (patch)
tree66df63cb0e64615c2339ea1d3990c7bfec008a28 /Documentation/riscv
parent83df5bf010eb5ccc11ce95f2d076515ec216c99c (diff)
downloadlinux-stable-a47b44fbb13f5e7a981b4515dcddc93a321ae89c.tar.gz
linux-stable-a47b44fbb13f5e7a981b4515dcddc93a321ae89c.tar.bz2
linux-stable-a47b44fbb13f5e7a981b4515dcddc93a321ae89c.zip
clk: tegra: fix error return case for recalc_rate
tegra-bpmp clocks driver makes implicit conversion of signed error code to unsigned value in recalc_rate operation. The behavior for recalc_rate, according to it's specification, should be that "If the driver cannot figure out a rate for this clock, it must return 0." Fixes: ca6f2796eef7 ("clk: tegra: Add BPMP clock driver") Signed-off-by: Timo Alho <talho@nvidia.com> Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Link: https://lore.kernel.org/r/20230912112951.2330497-1-cyndis@kapsi.fi Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'Documentation/riscv')
0 files changed, 0 insertions, 0 deletions