All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/2] clk: sunxi: factors: Add missing recalc pointer copy
@ 2016-01-28 19:22 ` Maxime Ripard
  0 siblings, 0 replies; 28+ messages in thread
From: Maxime Ripard @ 2016-01-28 19:22 UTC (permalink / raw)
  To: Chen-Yu Tsai
  Cc: Mike Turquette, Stephen Boyd, Jens Kuske, Vishnu Patekar,
	Hans de Goede, linux-arm-kernel, linux-clk, Jean-Francois Moine,
	Maxime Ripard

Commit 4a9b2abc213e ("clk: sunxi: factors: Support custom formulas") was
introducing a custom recalc function. However, the pointer was never
filled, which was making the whole thing unused.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 drivers/clk/sunxi/clk-factors.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/sunxi/clk-factors.c b/drivers/clk/sunxi/clk-factors.c
index e480a6bcf1f6..6e97f46c0c37 100644
--- a/drivers/clk/sunxi/clk-factors.c
+++ b/drivers/clk/sunxi/clk-factors.c
@@ -212,6 +212,7 @@ struct clk *sunxi_factors_register(struct device_node *node,
 	factors->reg = reg;
 	factors->config = data->table;
 	factors->get_factors = data->getter;
+	factors->recalc = data->recalc;
 	factors->lock = lock;
 
 	/* Add a gate if this factor clock can be gated */
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2016-02-03 19:07 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-28 19:22 [PATCH v3 1/2] clk: sunxi: factors: Add missing recalc pointer copy Maxime Ripard
2016-01-28 19:22 ` Maxime Ripard
2016-01-28 19:22 ` [PATCH v3 2/2] clk: sunxi: Refactor A31 PLL6 so that it can be reused Maxime Ripard
2016-01-28 19:22   ` Maxime Ripard
2016-01-29  9:56   ` Chen-Yu Tsai
2016-01-29  9:56     ` Chen-Yu Tsai
2016-01-29 10:02   ` Jens Kuske
2016-01-29 10:02     ` Jens Kuske
2016-01-29 10:14     ` Chen-Yu Tsai
2016-01-29 10:14       ` Chen-Yu Tsai
2016-02-01 19:46       ` Maxime Ripard
2016-02-01 19:46         ` Maxime Ripard
2016-01-30 17:57   ` Jean-Francois Moine
2016-01-30 17:57     ` Jean-Francois Moine
2016-01-31 12:08     ` Chen-Yu Tsai
2016-01-31 12:08       ` Chen-Yu Tsai
2016-01-31 14:26       ` Jean-Francois Moine
2016-01-31 14:26         ` Jean-Francois Moine
2016-02-01 20:17     ` Maxime Ripard
2016-02-01 20:17       ` Maxime Ripard
2016-02-02  6:52       ` Jean-Francois Moine
2016-02-02  6:52         ` Jean-Francois Moine
2016-02-03 19:07         ` Maxime Ripard
2016-02-03 19:07           ` Maxime Ripard
2016-01-29  6:18 ` [PATCH v3 1/2] clk: sunxi: factors: Add missing recalc pointer copy Chen-Yu Tsai
2016-01-29  6:18   ` Chen-Yu Tsai
2016-01-29 10:37   ` Maxime Ripard
2016-01-29 10:37     ` Maxime Ripard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.