aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-05-23 14:26:08 +0000
committerStephen Boyd <[email protected]>2022-08-23 02:05:02 +0000
commit56c78cb1f00a9dde8cd762131ce8f4c5eb046fbb (patch)
tree5a24d6e637d5bb7ba6c43fa74e9c80c125b2123e /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentclk: sprd: Hold reference returned by of_get_parent() (diff)
downloadkernel-56c78cb1f00a9dde8cd762131ce8f4c5eb046fbb.tar.gz
kernel-56c78cb1f00a9dde8cd762131ce8f4c5eb046fbb.zip
clk: tegra: Fix refcount leak in tegra210_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: 6b301a059eb2 ("clk: tegra: Add support for Tegra210 clocks") 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