Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1400384

Re: [linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver
Date 2016-05-12 23:50 +0200
Message-ID <ry6Ex-6cc-7@gated-at.bofh.it> (permalink)
References (5 earlier) <rxlmh-zy-9@gated-at.bofh.it> <rxKE2-E3-5@gated-at.bofh.it> <rxPDI-5tt-3@gated-at.bofh.it> <rxSLg-mB-7@gated-at.bofh.it> <rxUk3-1QS-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver Stephen Boyd <sboyd@codeaurora.org> - 2016-05-07 00:40 +0200
  Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-05-08 22:10 +0200
    Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver Stephen Boyd <sboyd@codeaurora.org> - 2016-05-10 00:40 +0200
      Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver Stephen Boyd <sboyd@codeaurora.org> - 2016-05-10 00:40 +0200
        Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-05-10 08:40 +0200
          Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver Stephen Boyd <sboyd@codeaurora.org> - 2016-05-12 00:20 +0200
        Re: [linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and  TCON0 clocks driver Priit Laes <plaes@plaes.org> - 2016-05-10 21:20 +0200
          Re: [linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and  TCON0 clocks driver Stephen Boyd <sboyd@codeaurora.org> - 2016-05-12 00:20 +0200
            Re: [linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and  TCON0 clocks driver Priit Laes <plaes@plaes.org> - 2016-05-12 05:40 +0200
              Re: [linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and  TCON0 clocks driver Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-05-12 09:00 +0200
                Re: [linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and  TCON0 clocks driver Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-05-12 10:40 +0200
                Re: [linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and  TCON0 clocks driver Stephen Boyd <sboyd@codeaurora.org> - 2016-05-12 23:50 +0200

csiph-web