Re: [PATCH] ARM: ux500: add missing of_node_put()

2019-04-16 Thread Linus Walleij
On Sat, Apr 13, 2019 at 9:20 AM Nicholas Mc Guire wrote: > of_find_compatible_node() returns a pointer with refcount incremented > so both in the error path as well as after usage in soc_info_populate() > respectively actually b8500_read_soc_id() an explicit of_node_put is > needed to release ba

Re: [PATCH] ARM: ux500: add missing of_node_put()

2019-04-15 Thread Ulf Hansson
On Sat, 13 Apr 2019 at 09:20, Nicholas Mc Guire wrote: > > of_find_compatible_node() returns a pointer with refcount incremented > so both in the error path as well as after usage in soc_info_populate() > respectively actually b8500_read_soc_id() an explicit of_node_put is > needed to release bac

[PATCH] ARM: ux500: add missing of_node_put()

2019-04-13 Thread Nicholas Mc Guire
of_find_compatible_node() returns a pointer with refcount incremented so both in the error path as well as after usage in soc_info_populate() respectively actually b8500_read_soc_id() an explicit of_node_put is needed to release backupram. Signed-off-by: Nicholas Mc Guire Fixes: commit 18a992787

[PATCH] ARM: ux500: add missing of_node_put()

2018-07-08 Thread Nicholas Mc Guire
of_find_compatible_node() returns a pointer with refcount incremented so both in the error path as well as after usage in soc_info_populate() respectively actually b8500_read_soc_id() an explicit of_node_put is needed to release backupram. Signed-off-by: Nicholas Mc Guire Fixes: commit 18a992787