diff options
| author | Tom Rini <[email protected]> | 2022-10-20 09:11:08 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-10-20 09:11:08 -0400 |
| commit | d843273a8022e70ccbdb6ad446b3335c3753e84f (patch) | |
| tree | 278b373a66a03744305caddabb1056788cb981c7 /drivers | |
| parent | dc3cb0abf41191aad62a6537ce8734a4f5339888 (diff) | |
| parent | b3b44c674a473bdd3d53cf5196fae897107af619 (diff) | |
Merge https://source.denx.de/u-boot/custodians/u-boot-riscv
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/clk/clk_k210.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk_k210.c b/drivers/clk/clk_k210.c index 1961efaa5e7..f7d36963f85 100644 --- a/drivers/clk/clk_k210.c +++ b/drivers/clk/clk_k210.c @@ -846,7 +846,7 @@ again: error = DIV_ROUND_CLOSEST_ULL(f * inv_ratio, r * od); /* The lower 16 bits are spurious */ - error = abs((error - BIT(32))) >> 16; + error = abs64((error - BIT_ULL(32))) >> 16; if (error < best_error) { best->r = r; |
