[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YCUqgwrCREvPqEz+@kroah.com>
Date: Thu, 11 Feb 2021 14:00:51 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Tudor Ambarus <tudor.ambarus@...rochip.com>
Cc: corbet@....net, rafael@...nel.org, khilman@...nel.org,
ulf.hansson@...aro.org, len.brown@...el.com, lenb@...nel.org,
pavel@....cz, mturquette@...libre.com, sboyd@...nel.org,
robh+dt@...nel.org, frowand.list@...il.com, maz@...nel.org,
tglx@...utronix.de, saravanak@...gle.com,
nicolas.ferre@...rochip.com, claudiu.beznea@...rochip.com,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org, linux-clk@...r.kernel.org,
devicetree@...r.kernel.org, linux-acpi@...r.kernel.org,
m.szyprowski@...sung.com, geert@...ux-m68k.org,
kernel-team@...roid.com
Subject: Re: [PATCH] clk: Mark fwnodes when their clock provider is added
On Wed, Feb 10, 2021 at 01:44:35PM +0200, Tudor Ambarus wrote:
> This is a follow-up for:
> commit 3c9ea42802a1 ("clk: Mark fwnodes when their clock provider is added/removed")
>
> The above commit updated the deprecated of_clk_add_provider(),
> but missed to update the preferred of_clk_add_hw_provider().
> Update it now.
>
> Signed-off-by: Tudor Ambarus <tudor.ambarus@...rochip.com>
> ---
> drivers/clk/clk.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
> index 27ff90eacb1f..9370e4dfecae 100644
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -4594,6 +4594,8 @@ int of_clk_add_hw_provider(struct device_node *np,
> if (ret < 0)
> of_clk_del_provider(np);
>
> + fwnode_dev_initialized(&np->fwnode, true);
> +
> return ret;
> }
> EXPORT_SYMBOL_GPL(of_clk_add_hw_provider);
> --
> 2.25.1
>
Any objection for me taking this in my tree as well?
thanks,
greg k-h
Powered by blists - more mailing lists