aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorLiang He <windhl@126.com>2022-06-28 22:38:51 +0800
committerStephen Boyd <sboyd@kernel.org>2022-08-19 14:41:47 -0700
commita8ea4273bc26256ce3cce83164f0f51c5bf6e127 (patch)
tree3016318a44fdd5f338b74f9b0047bebeffb10314 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parent1d6aa08c54cd0e005210ab8e3b1e92ede70f8a4f (diff)
clk: qoriq: Hold reference returned by of_get_parent()
In legacy_init_clockgen(), we need to hold the reference returned by of_get_parent() and use it to call of_node_put() for refcount balance. Beside, in create_sysclk(), we need to call of_node_put() on 'sysclk' also for refcount balance. Fixes: 0dfc86b3173f ("clk: qoriq: Move chip-specific knowledge into driver") Signed-off-by: Liang He <windhl@126.com> Link: https://lore.kernel.org/r/20220628143851.171299-1-windhl@126.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions