[PATCH] clk: change return type of clk_get_parent_rate from long long to ulong

Sean Anderson seanga2 at gmail.com
Thu Oct 20 01:51:50 CEST 2022


On Wed, 28 Sep 2022 12:37:57 +0200, Michal Suchanek wrote:
> All functions getting and setting clock rate use ulong for rate, only
> clk_get_parent_rate is an exception. Change the return value to match
> other clock rate funcrions.
> 
> Most users directly assign the rate to unsigned long anyway, and the few
> users that use u64 (not s64) multiply the rate so they may need the
> extra bits for the result in their use case.
> 
> [...]

Applied, thanks!

[1/1] clk: change return type of clk_get_parent_rate from long long to ulong
      commit: bf3afe148ecbc34f096c5f08c7168c64159299d9

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


More information about the U-Boot mailing list