diff options
author | Liang He <windhl@126.com> | 2022-06-28 22:24:15 +0800 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-08-19 14:34:44 -0700 |
commit | 429973306f860470cbbb8402c8c53143b450faba (patch) | |
tree | 94d7f02efb1b4fc0310e87b35084c83aa45c283e /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | 02bd544f98ae96e2f8fde759696f725f0966cce6 (diff) |
clk: st: Hold reference returned by of_get_parent()
We should hold the reference returned by of_get_parent() and use it
to call of_node_put() for refcount balance.
Fixes: 3efe64ef5186 ("clk: st: clkgen-fsyn: search reg within node or parent")
Fixes: 810251b0d36a ("clk: st: clkgen-mux: search reg within node or parent")
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220628142416.169808-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