u-boot/drivers/clk
Julien Masson b500447ad6 clk: fix clk_get_rate() always return ulong
When we call clk_get_rate(), we expect to get clock rate value as
ulong.
In that case we should not use log_ret() macro since it use internally
an int.
Otherwise we may return an invalid/truncated clock rate value.

Signed-off-by: Julien Masson <jmasson@baylibre.com>
Fixes: 5c5992cb90 ("clk: Add debugging for return values")
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/87o7erv9p4.fsf@baylibre.com
2024-01-29 22:34:52 -05:00
..
altera clk: altera: n5x: Fix MEMCLKMGR_EXTCNTRST_C0CNTRST to bit(0) 2024-01-22 16:51:17 +08:00
analogbits common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
aspeed clk: treewide: switch to clock dump from clk_ops 2023-12-15 13:05:54 -05:00
at91 treewide: use linux/time.h for time conversion defines 2023-11-16 18:59:58 -05:00
exynos clk: exynos: Add header guard for clk-pll.h 2023-11-13 16:39:05 +09:00
imx clk: treewide: switch to clock dump from clk_ops 2023-12-15 13:05:54 -05:00
intel
mediatek clk: mediatek: add clock driver support for MediaTek MT8365 SoC 2023-12-19 10:09:06 -05:00
meson clk: meson: add Hardware Clock measure driver 2024-01-29 22:34:39 -05:00
microchip
mtmips
mvebu clk: treewide: switch to clock dump from clk_ops 2023-12-15 13:05:54 -05:00
nuvoton clk: nuvoton: add read only feature for clk driver 2023-12-15 13:05:55 -05:00
owl
qcom clk/qcom: fix rcg divider value 2024-01-16 12:26:24 +00:00
renesas clk: renesas: Drop include common.h 2024-01-27 20:16:39 +01:00
rockchip clk: rockchip: rk3588: fix up the frac pll calculation 2023-10-23 18:21:55 +08:00
sifive
starfive clk: starfive: jh7110: Add watchdog clocks 2023-12-05 16:40:16 +08:00
stm32 arm: Rename STM32MP15x 2024-01-19 14:38:59 +01:00
sunxi sunxi: add Allwinner R528/T113 SoC support 2023-10-22 23:41:52 +01:00
tegra
ti tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
uniphier
clk_bcm6345.c
clk_boston.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
clk_fixed_factor.c
clk_fixed_rate.c
clk_k210.c clk: treewide: switch to clock dump from clk_ops 2023-12-15 13:05:54 -05:00
clk_octeon.c
clk_pic32.c clk: treewide: switch to clock dump from clk_ops 2023-12-15 13:05:54 -05:00
clk_sandbox_ccf.c test: dm: clk_ccf: test ccf_clk_ops 2023-12-15 13:50:44 -05:00
clk_sandbox_test.c test: dm: clk_ccf: test ccf_clk_ops 2023-12-15 13:50:44 -05:00
clk_sandbox.c
clk_scmi.c scmi: refactor the code to hide a channel from devices 2023-10-13 16:59:23 -04:00
clk_versaclock.c
clk_versal.c clk: treewide: switch to clock dump from clk_ops 2023-12-15 13:05:54 -05:00
clk_vexpress_osc.c
clk_zynq.c clk: treewide: switch to clock dump from clk_ops 2023-12-15 13:05:54 -05:00
clk_zynqmp.c clk: treewide: switch to clock dump from clk_ops 2023-12-15 13:05:54 -05:00
clk-cdce9xx.c tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
clk-composite.c clk: Check that composite clock's div has set_rate() 2023-12-15 12:32:00 -05:00
clk-divider.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
clk-fixed-factor.c
clk-gate.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
clk-gpio.c clk: Add GPIO-controlled clock gate driver 2023-09-09 04:53:31 +02:00
clk-hsdk-cgu.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
clk-mux.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
clk-uclass.c clk: fix clk_get_rate() always return ulong 2024-01-29 22:34:52 -05:00
clk-xlnx-clock-wizard.c
clk.c clk: check parent_name in clk_register to avoid confusing log_error() output 2023-12-15 12:31:15 -05:00
ics8n3qv01.c
Kconfig clk/qcom: move from mach-snapdragon 2024-01-16 12:26:23 +00:00
Makefile clk/qcom: move from mach-snapdragon 2024-01-16 12:26:23 +00:00
mpc83xx_clk.c
mpc83xx_clk.h