linux/drivers/soc/tegra
Johan Hovold 1dc6bd5e39 soc/tegra: pmc: Fix child-node lookup
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 argument.

Fixes: 3568df3d31 ("soc: tegra: Add thermal reset (thermtrip) support to PMC")
Cc: stable <stable@vger.kernel.org>     # 4.0
Cc: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-08-27 12:25:09 +02:00
..
fuse soc/tegra: fuse: Explicitly request DMA channel from APB DMA driver 2017-12-21 17:04:12 +01:00
common.c soc/tegra: Add Tegra210 support 2015-07-16 09:47:59 +02:00
flowctrl.c soc/tegra: flowctrl: Fix error handling 2017-06-13 16:47:44 +02:00
Kconfig soc/tegra: Add Tegra194 SoC configuration option 2018-03-08 16:44:01 +01:00
Makefile soc/tegra: pmc: Consolidate Tegra186 support 2017-12-13 13:06:44 +01:00
pmc.c soc/tegra: pmc: Fix child-node lookup 2018-08-27 12:25:09 +02:00
powergate-bpmp.c soc/tegra: bpmp: Check BPMP response return code 2017-10-19 16:33:57 +02:00