Re: [PATCH] clk: sunxi: pll2: Fix clock running too fast

From: Stephen Boyd
Date: Mon Nov 30 2015 - 14:32:22 EST


On 11/30, Maxime Ripard wrote:
> @@ -191,25 +186,17 @@ err_unmap:
> iounmap(reg);
> }
>
> -static struct sun4i_pll2_data sun4i_a10_pll2_data = {
> - .pre_div_flags = CLK_DIVIDER_ONE_BASED | CLK_DIVIDER_ALLOW_ZERO,
> -};
> -
> static void __init sun4i_a10_pll2_setup(struct device_node *node)
> {
> - sun4i_pll2_setup(node, &sun4i_a10_pll2_data);
> + sun4i_pll2_setup(node, &sun4i_a10_pll2_data, 0);

And it doesn't compile, because we just deleted the data that
this is taking an address of. Hmph.

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/