Skip to content
Commit 72cdf324 authored by Thierry Reding's avatar Thierry Reding Committed by Greg Kroah-Hartman
Browse files

soc/tegra: pmc: Avoid usage of uninitialized variable

commit 95169cd2 upstream.

Make sure to only drop the reference to the OF node after it's been
successfully obtained.

Fixes: 3568df3d

 ("soc: tegra: Add thermal reset (thermtrip) support to PMC")
Reviewed-by: default avatarMikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e4b09a61
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment