summaryrefslogtreecommitdiff
path: root/drivers/clk/.kunitconfig
diff options
context:
space:
mode:
authorFrank Oltmanns <frank@oltmanns.dev>2023-06-17 16:10:40 +0300
committerStephen Boyd <sboyd@kernel.org>2023-10-13 00:02:17 +0300
commit2e9abc6ec108370ad341f98d0e05e02e4e165b5a (patch)
treed4b1d1fa5ce6078fba5271467b7a9133515a51e2 /drivers/clk/.kunitconfig
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
downloadlinux-2e9abc6ec108370ad341f98d0e05e02e4e165b5a.tar.xz
clk: fractional-divider: Improve approximation when zero based and export
Consider the CLK_FRAC_DIVIDER_ZERO_BASED flag when finding the best approximation for m and n. By doing so, increase the range of valid values for the numerator and denominator by 1. Furthermore, export the approximation function so that users of this function can be compiled as modules. Cc: A.s. Dong <aisheng.dong@nxp.com> Signed-off-by: Frank Oltmanns <frank@oltmanns.dev> Link: https://lore.kernel.org/r/20230617131041.18313-2-frank@oltmanns.dev Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/.kunitconfig')
0 files changed, 0 insertions, 0 deletions