Re: [PATCH] soc/tegra: add of_node_put()

2018-11-21 Thread Frank Lee
On Wed, Nov 21, 2018 at 10:41 PM Jon Hunter wrote: > > > On 21/11/2018 13:31, Jon Hunter wrote: > > > > On 21/11/2018 12:49, Yangtao Li wrote: > >> of_find_node_by_path() acquires a reference to the node > >> returned by it and that reference needs to be dropped by its caller. > >> bl_idle_init()

Re: [PATCH] soc/tegra: add of_node_put()

2018-11-21 Thread Jon Hunter
On 21/11/2018 13:31, Jon Hunter wrote: > > On 21/11/2018 12:49, Yangtao Li wrote: >> of_find_node_by_path() acquires a reference to the node >> returned by it and that reference needs to be dropped by its caller. >> bl_idle_init() doesn't do that, so fix it. The bl_idle_init() looks like a typo

Re: [PATCH] soc/tegra: add of_node_put()

2018-11-21 Thread Jon Hunter
On 21/11/2018 12:49, Yangtao Li wrote: > of_find_node_by_path() acquires a reference to the node > returned by it and that reference needs to be dropped by its caller. > bl_idle_init() doesn't do that, so fix it. > > Signed-off-by: Yangtao Li > --- > drivers/soc/tegra/common.c | 5 - > 1 f

[PATCH] soc/tegra: add of_node_put()

2018-11-21 Thread Yangtao Li
of_find_node_by_path() acquires a reference to the node returned by it and that reference needs to be dropped by its caller. bl_idle_init() doesn't do that, so fix it. Signed-off-by: Yangtao Li --- drivers/soc/tegra/common.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a