summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulien Masson <jmasson@baylibre.com>2023-12-15 15:09:43 +0100
committerSean Anderson <seanga2@gmail.com>2024-01-29 22:34:52 -0500
commitb500447ad6aef31de75e3e9242101ae96eceb7ca (patch)
tree20e04624eb5e7bb2a999c1a3b657be56a203b47f /test
parent2da1331d20b34fb9b7ff41ddaf622dd880965a02 (diff)
downloadu-boot-b500447ad6aef31de75e3e9242101ae96eceb7ca.tar.gz
u-boot-b500447ad6aef31de75e3e9242101ae96eceb7ca.tar.bz2
u-boot-b500447ad6aef31de75e3e9242101ae96eceb7ca.zip
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: 5c5992cb90c ("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
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions