[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190204081856.GD19087@ulmo>
Date: Mon, 4 Feb 2019 09:18:56 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: Yangtao Li <tiny.windzz@...il.com>
Cc: rjw@...ysocki.net, viresh.kumar@...aro.org, jonathanh@...dia.com,
linux-pm@...r.kernel.org, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH v2] cpufreq: tegra124: add missing of_node_put()
On Mon, Feb 04, 2019 at 02:48:54AM -0500, Yangtao Li wrote:
> of_cpu_device_node_get() will increase the refcount of device_node,
> it is necessary to call of_node_put() at the end to release the
> refcount.
>
> Fixes: 9eb15dbbfa1a2 ("cpufreq: Add cpufreq driver for Tegra124")
> Cc: <stable@...r.kernel.org> # 4.4+
> Signed-off-by: Yangtao Li <tiny.windzz@...il.com>
> ---
> v2:
> - move of_node_put() to the very end
> ---
> drivers/cpufreq/tegra124-cpufreq.c | 2 ++
> 1 file changed, 2 insertions(+)
Acked-by: Thierry Reding <treding@...dia.com>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists