[PATCH v2] clk: fix clk_get_rate() always return ulong

Sean Anderson seanga2 at gmail.com
Tue Jan 30 05:37:31 CET 2024


On Fri, 15 Dec 2023 15:09:43 +0100, Julien Masson wrote:
> 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.
> 
> 
> [...]

Applied, thanks!

[1/1] clk: fix clk_get_rate() always return ulong
      https://source.denx.de/u-boot/custodians/u-boot-clk/-/commit/b500447ad6ae

Best regards,
-- 
Sean Anderson <seanga2 at gmail.com>


More information about the U-Boot mailing list