Files
linux/drivers
Johan Hovold 59bc2d3a68 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-13 11:15:12 -08:00
..
2018-10-03 17:00:59 -07:00
2018-07-22 14:28:43 +02:00
2018-07-03 11:24:56 +02:00
2018-11-13 11:15:06 -08:00
2018-08-22 07:46:11 +02:00
2018-08-24 13:09:06 +02:00
2018-11-10 07:48:34 -08:00
2018-09-15 09:45:27 +02:00
2018-11-13 11:15:12 -08:00
2018-11-13 11:15:11 -08:00
2018-10-03 17:00:46 -07:00
2018-11-04 14:52:49 +01:00
2018-11-04 14:52:39 +01:00