Re: [PATCH v2] cpufreq: tegra124: add missing of_node_put()

2019-02-04 Thread Viresh Kumar
On 04-02-19, 09:18, Thierry Reding wrote: > 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:

Re: [PATCH v2] cpufreq: tegra124: add missing of_node_put()

2019-02-04 Thread Thierry Reding
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: # 4.4+ > Sign

[PATCH v2] cpufreq: tegra124: add missing of_node_put()

2019-02-03 Thread Yangtao Li
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: # 4.4+ Signed-off-by: Yangtao Li --- v2: - move of_node_put() to the very end --- d