aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorLiang He <[email protected]>2022-07-08 08:49:00 +0000
committerStephen Boyd <[email protected]>2022-08-19 21:50:24 +0000
commit37c381b812dcbfde9c3f1f3d3e75fdfc1b40d5bc (patch)
treeda6db710eea7c6ad39895eeb2aad25e6602d2ca1 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentclk: at91: dt-compat: Hold reference returned by of_get_parent() (diff)
downloadkernel-37c381b812dcbfde9c3f1f3d3e75fdfc1b40d5bc.tar.gz
kernel-37c381b812dcbfde9c3f1f3d3e75fdfc1b40d5bc.zip
clk: berlin: Add of_node_put() for of_get_parent()
In berlin2_clock_setup() and berlin2q_clock_setup(), we need to call of_node_put() for the reference returned by of_get_parent() which has increased the refcount. We should call *_put() in fail path or when it is not used anymore. Fixes: 26b3b6b959b2 ("clk: berlin: prepare simple-mfd conversion") Signed-off-by: Liang He <[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