aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorFrank Oltmanns <[email protected]>2023-08-07 14:43:35 +0200
committerChen-Yu Tsai <[email protected]>2023-08-09 23:33:58 +0800
commit3492e4f6db5f6814869a4639d70ea025385f4cb6 (patch)
tree79c3e0752c75f164de7b386b3ed25232b59441d4 /lib/test_fortify/write_overflow-strncpy-src.c
parent80c439cd1f011e8c6bb4c6c65987e235f686d9ee (diff)
clk: sunxi-ng: nkm: consider alternative parent rates when determining rate
In case the CLK_SET_RATE_PARENT flag is set, consider using a different parent rate when determining a new rate. To find the best match for the requested rate, perform the following steps for each NKM combination: - calculate the optimal parent rate, - find the best parent rate that the parent clock actually supports - use that parent rate to calculate the effective rate. In case the clk does not support setting the parent rate, use the same algorithm as before. Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Frank Oltmanns <[email protected]> Reviewed-by: Chen-Yu Tsai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Chen-Yu Tsai <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions