linux/drivers/soc
Johan Hovold cb526c9ab8 soc/tegra: pmc: Fix child-node lookup
commit 1dc6bd5e39 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-21 09:27:37 +01:00
..
brcmstb
dove
mediatek soc: Mediatek: Enable SCPSYS power domain driver by default 2015-11-24 10:15:38 -08:00
qcom soc: qcom/spm: shut up uninitialized variable warning 2016-09-24 10:07:42 +02:00
rockchip soc: rockchip: power-domain: fix err handle while probing 2016-05-11 11:21:11 +02:00
sunxi
tegra soc/tegra: pmc: Fix child-node lookup 2018-11-21 09:27:37 +01:00
ti soc: ti: knav_qmss_queue: Fix linking RAM setup for queue managers 2015-11-23 10:36:27 -08:00
versatile
Kconfig ARM: SoC driver updates for v4.4 2015-11-10 15:00:03 -08:00
Makefile ARM: SoC driver updates for v4.4 2015-11-10 15:00:03 -08:00