android_kernel_xiaomi_sm8350/drivers/clk/tegra
Timo Alho 3468fa39d8 clk: tegra: fix error return case for recalc_rate
[ Upstream commit a47b44fbb13f5e7a981b4515dcddc93a321ae89c ]

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: ca6f2796ee ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-10 21:46:39 +02:00
..
clk-audio-sync.c
clk-bpmp.c
clk-dfll.c
clk-dfll.h Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina 2019-07-01 17:41:24 -07:00
clk-divider.c
clk-emc.c
clk-id.h
clk-periph-fixed.c
clk-periph-gate.c
clk-periph.c
clk-pll-out.c
clk-pll.c
clk-sdmmc-mux.c
clk-super.c
clk-tegra20.c
clk-tegra30.c
clk-tegra114.c
clk-tegra124-dfll-fcpu.c
clk-tegra124.c
clk-tegra210.c
clk-tegra-audio.c
clk-tegra-fixed.c Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina 2019-07-01 17:41:24 -07:00
clk-tegra-periph.c clk: tegra: Fix duplicated SE clock entry 2020-12-30 11:51:24 +01:00
clk-tegra-pmc.c clk: tegra: Fix Tegra PMC clock out parents 2020-04-23 10:36:29 +02:00
clk-tegra-super-gen4.c
clk-utils.c
clk.c
clk.h
cvb.c Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina 2019-07-01 17:41:24 -07:00
cvb.h
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile