[PATCH v3 1/2] clk: sunxi: factors: Add missing recalc pointer copy
Chen-Yu Tsai
wens at csie.org
Thu Jan 28 22:18:34 PST 2016
On Fri, Jan 29, 2016 at 3:22 AM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:
> 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 at free-electrons.com>
(facepalm)
Acked-by: Chen-Yu Tsai <wens at csie.org>
Can you squash it into the original?
Thanks
> ---
> 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
>
More information about the linux-arm-kernel
mailing list