diff options
| author | Yuho Choi <dbgh9129@gmail.com> | 2026-08-01 19:50:08 -0400 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2026-10-03 00:47:52 +0200 |
| commit | 4eaed7ea6ab36e1160d660b05551702c36dfed6c (patch) | |
| tree | a4b87231442d0117da2b05c8930bff03eb82b8bb /include | |
| parent | c842922f5ff229c9df2a2be56327c36aced7a3a7 (diff) | |
soc/tegra: flowctrl: Release OF node reference on error
tegra_flowctrl_init() obtains a reference from
of_find_matching_node() and currently releases it only after
of_address_to_resource() succeeds.
Release the reference before checking the resource conversion result so
the error path is balanced as well.
Fixes: 1fd09e5d884a ("soc/tegra: Add initial flowctrl support for Tegra132/210")
Signed-off-by: Yuho Choi <dbgh9129@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
