aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2022-01-31 16:32:24 +0000
committerHeiko Stuebner <[email protected]>2022-02-23 23:07:16 +0000
commit10b74af310735860510a533433b1d3ab2e05a138 (patch)
treedfa6f5c919cf31217ac24eb41d2625ab309f54e0 /fs/proc/array.c
parentclk/rockchip: Use of_device_get_match_data() (diff)
downloadkernel-10b74af310735860510a533433b1d3ab2e05a138.tar.gz
kernel-10b74af310735860510a533433b1d3ab2e05a138.zip
clk: rockchip: re-add rational best approximation algorithm to the fractional divider
In commit 4e7cf74fa3b2 ("clk: fractional-divider: Export approximation algorithm to the CCF users"), the code handling the rational best approximation algorithm was replaced by a call to the core clk_fractional_divider_general_approximation function which did the same thing back then. However, in commit 82f53f9ee577 ("clk: fractional-divider: Introduce POWER_OF_TWO_PS flag"), this common code was made conditional on CLK_FRAC_DIVIDER_POWER_OF_TWO_PS flag which was not added back to the rockchip clock driver. This broke the ltk050h3146w-a2 MIPI DSI display present on a PX30-based downstream board. Let's add the flag to the fractional divider flags so that the original and intended behavior is brought back to the rockchip clock drivers. Fixes: 82f53f9ee577 ("clk: fractional-divider: Introduce POWER_OF_TWO_PS flag") Cc: [email protected] Cc: Quentin Schulz <[email protected]> Signed-off-by: Quentin Schulz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions