Re: [PATCH] soc/tegra: pmc: fix child-node lookup

2018-08-14 Thread Thierry Reding
On Mon, Aug 13, 2018 at 04:33:17PM +0200, Johan Hovold wrote: > Hi Thierry, > > On Thu, Mar 22, 2018 at 03:24:32PM +0100, Thierry Reding wrote: > > On Wed, Nov 15, 2017 at 10:44:58AM +0100, Johan Hovold wrote: > > > Fix child-node lookup during probe, which ended up searching the whole > > > devic

Re: [PATCH] soc/tegra: pmc: fix child-node lookup

2018-08-13 Thread Johan Hovold
Hi Thierry, On Thu, Mar 22, 2018 at 03:24:32PM +0100, Thierry Reding wrote: > On Wed, Nov 15, 2017 at 10:44:58AM +0100, Johan Hovold wrote: > > Fix child-node lookup during probe, which ended up searching the whole > > device tree depth-first starting at the parent rather than just matching > > on

Re: [PATCH] soc/tegra: pmc: fix child-node lookup

2018-03-22 Thread Thierry Reding
On Wed, Nov 15, 2017 at 10:44:58AM +0100, Johan Hovold wrote: > Fix child-node lookup during probe, which ended up searching the whole > device tree depth-first starting at the parent rather than just matching > on its children. > > To make things worse, the parent pmc node could end up being prem

Re: [PATCH] soc/tegra: pmc: fix child-node lookup

2018-03-22 Thread Johan Hovold
On Fri, Jan 12, 2018 at 10:19:51AM +0100, Johan Hovold wrote: > On Thu, Nov 16, 2017 at 01:40:24PM +0200, Mikko Perttunen wrote: > > On 15.11.2017 11:44, Johan Hovold wrote: > > > Fix child-node lookup during probe, which ended up searching the whole > > > device tree depth-first starting at the pa

Re: [PATCH] soc/tegra: pmc: fix child-node lookup

2018-01-12 Thread Johan Hovold
On Thu, Nov 16, 2017 at 01:40:24PM +0200, Mikko Perttunen wrote: > On 15.11.2017 11:44, Johan Hovold wrote: > > Fix child-node lookup during probe, which ended up searching the whole > > device tree depth-first starting at the parent rather than just matching > > on its children. > > > > To make th

Re: [PATCH] soc/tegra: pmc: fix child-node lookup

2017-11-16 Thread Mikko Perttunen
On 15.11.2017 11:44, Johan Hovold wrote: Fix child-node lookup during probe, which ended up searching the whole device tree depth-first starting at the parent rather than just matching on its children. To make things worse, the parent pmc node could end up being prematurely freed as of_find_node

[PATCH] soc/tegra: pmc: fix child-node lookup

2017-11-15 Thread Johan Hovold
Fix child-node lookup during probe, which ended up searching the whole device tree depth-first starting at the parent rather than just matching on its children. To make things worse, the parent pmc node could end up being prematurely freed as of_find_node_by_name() drops a reference to its first a