[linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver
Stephen Boyd
sboyd at codeaurora.org
Thu May 12 21:47:02 UTC 2016
On 05/12, Maxime Ripard wrote:
>
> diff --git a/drivers/clk/sunxi/clk-sun4i-display.c b/drivers/clk/sunxi/clk-sun4i-display.c
> index 70803aa7028c..9780fac6d029 100644
> --- a/drivers/clk/sunxi/clk-sun4i-display.c
> +++ b/drivers/clk/sunxi/clk-sun4i-display.c
> @@ -128,8 +128,8 @@ static void __init sun4i_a10_display_init(struct device_node *node,
> return;
> }
>
> - ret = of_clk_parent_fill(node, parents, ARRAY_SIZE(parents));
> - if (ret != ARRAY_SIZE(parents)) {
> + ret = of_clk_parent_fill(node, parents, data->parents);
> + if (ret != data->parents) {
> pr_err("%s: Could not retrieve the parents\n", clk_name);
> goto unmap;
> }
Ah ok. Thanks for catching that thinko and sending a patch.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
More information about the dri-devel
mailing list