diff options
| author | Julien Masson <[email protected]> | 2023-12-15 15:09:43 +0100 |
|---|---|---|
| committer | Sean Anderson <[email protected]> | 2024-01-29 22:34:52 -0500 |
| commit | b500447ad6aef31de75e3e9242101ae96eceb7ca (patch) | |
| tree | 20e04624eb5e7bb2a999c1a3b657be56a203b47f /include/android_bootloader_message.h | |
| parent | 2da1331d20b34fb9b7ff41ddaf622dd880965a02 (diff) | |
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 <[email protected]>
Fixes: 5c5992cb90c ("clk: Add debugging for return values")
Reviewed-by: Sean Anderson <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/android_bootloader_message.h')
0 files changed, 0 insertions, 0 deletions
