android_kernel_motorola_sm6225/drivers/clk/tegra
Timo Alho 33a760a5fd 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:44:58 +02:00
..
clk-audio-sync.c clk: tegra: Fix maximum audio sync clock for Tegra124/210 2019-09-16 08:22:16 +02:00
clk-bpmp.c clk: tegra: fix error return case for recalc_rate 2023-10-10 21:44:58 +02:00
clk-dfll.c clk: tegra: no need to check return value of debugfs_create functions 2018-06-01 19:25:51 -07:00
clk-dfll.h clk: tegra: dfll: Fix drvdata overwriting issue 2017-11-01 15:00:06 +01:00
clk-divider.c Merge branches 'clk-imx6-ocram', 'clk-missing-put', 'clk-tegra-sdmmc-jitter', 'clk-allwinner' and 'clk-uniphier' into clk-next 2018-08-14 22:58:53 -07:00
clk-emc.c clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver 2022-04-15 14:14:52 +02:00
clk-id.h clk: tegra: Fix duplicated SE clock entry 2020-12-30 11:26:03 +01:00
clk-periph-fixed.c
clk-periph-gate.c
clk-periph.c
clk-pll-out.c
clk-pll.c clk: tegra: Ensure that PLLU configuration is applied properly 2021-07-20 16:16:00 +02:00
clk-sdmmc-mux.c clk: tegra: Add sdmmc mux divider clock 2018-07-25 13:45:09 -07:00
clk-super.c
clk-tegra-audio.c clk: tegra: Fix maximum audio sync clock for Tegra124/210 2019-09-16 08:22:16 +02:00
clk-tegra-fixed.c
clk-tegra-periph.c clk: tegra: Fix duplicated SE clock entry 2020-12-30 11:26:03 +01:00
clk-tegra-pmc.c clk: tegra: Fix Tegra PMC clock out parents 2020-04-23 10:30:17 +02:00
clk-tegra-super-gen4.c clk: tegra: Mark HCLK, SCLK and EMC as critical 2018-03-12 13:58:58 +01:00
clk-tegra20.c clk: tegra20: fix gcc-7 constant overflow warning 2023-05-30 12:42:10 +01:00
clk-tegra30.c clk: tegra30: Add hda clock default rates to clock driver 2021-01-27 11:05:37 +01:00
clk-tegra114.c clk: tegra: Fix refcount leak in tegra114_clock_init 2022-10-26 13:19:30 +02:00
clk-tegra124-dfll-fcpu.c clk: tegra: dfll: Fix a potential Oop in remove() 2019-03-05 17:58:46 +01:00
clk-tegra124.c clk: tegra: Fix maximum audio sync clock for Tegra124/210 2019-09-16 08:22:16 +02:00
clk-tegra210.c clk: tegra: Fix refcount leak in tegra210_clock_init 2022-10-26 13:19:30 +02:00
clk-utils.c clk: tegra: Refactor fractional divider calculation 2018-07-25 13:43:34 -07:00
clk.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
clk.h clk: tegra: Fix maximum audio sync clock for Tegra124/210 2019-09-16 08:22:16 +02:00
cvb.c
cvb.h
Kconfig
Makefile clk: tegra: Add sdmmc mux divider clock 2018-07-25 13:45:09 -07:00