aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-05-23 15:28:11 +0000
committerStephen Boyd <[email protected]>2022-08-23 02:06:09 +0000
commit4e343bafe03ff68a62f48f8235cf98f2c685468b (patch)
tree6a9bdb252b7cea3c2bbb0fdd5d80b8ff17ff3208 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentclk: tegra: Fix refcount leak in tegra114_clock_init (diff)
downloadkernel-4e343bafe03ff68a62f48f8235cf98f2c685468b.tar.gz
kernel-4e343bafe03ff68a62f48f8235cf98f2c685468b.zip
clk: tegra20: Fix refcount leak in tegra20_clock_init
of_find_matching_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. Fixes: 37c26a906527 ("clk: tegra: add clock support for Tegra20") Signed-off-by: Miaoqian Lin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions