From b87e75e160bf4d8b3aa49956fae50ce4ef3e5d29 Mon Sep 17 00:00:00 2001 From: wycwyhwyq <5f20.6d9b@gmail.com> Date: Wed, 20 Nov 2024 17:37:21 +0800 Subject: [PATCH] drivers: k230: Fix clock driver Signed-off-by: wycwyhwyq <5f20.6d9b@gmail.com> --- drivers/clk/clk-k230.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-k230.c b/drivers/clk/clk-k230.c index 4a52273f5fae..71d38f7d4755 100644 --- a/drivers/clk/clk-k230.c +++ b/drivers/clk/clk-k230.c @@ -739,6 +739,7 @@ static struct clk *_of_cannan_k230_clk_composite_setup(struct device_node *node) if (true == mux) { p_clk_ops->set_parent = k230_clk_composite_set_parent; p_clk_ops->get_parent = k230_clk_composite_get_parent; + p_clk_ops->determine_rate = __clk_mux_determine_rate_closest; } if (true == rate) { p_clk_ops->recalc_rate = k230_clk_composite_recalc_rate;