diff options
author | Shubhrajyoti Datta <shubhrajyoti.datta@amd.com> | 2025-07-29 10:38:42 +0530 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2025-09-21 10:56:21 -0700 |
commit | e0a94c6bb5b48c46ff4dd0533e79aacfda366b9f (patch) | |
tree | 1b0174d6020acd9ea1a1466339e70e7eb3cfa1e0 /rust/kernel/xarray.rs | |
parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) |
clk: xilinx: Optimize divisor search in clk_wzrd_get_divisors_ver()
Optimise the clock wizard divisor calculation by eliminating the innermost
loop over output divider o. Earlier there was an error that is returned
if the WZRD_MIN_ERR is not achieved error is returned now it computes
the best possible frequency.
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'rust/kernel/xarray.rs')
0 files changed, 0 insertions, 0 deletions