diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-06-02 06:08:36 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-10-01 03:39:46 +0300 |
commit | 9c59a01caba26ec06fefd6ca1f22d5fd1de57d63 (patch) | |
tree | 0d7203dd39475a3f509da8134b095f44617edd32 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | d61876a2850faf0f07843ecf157a42a79e7e34a2 (diff) | |
download | linux-9c59a01caba26ec06fefd6ca1f22d5fd1de57d63.tar.xz |
clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe
pm_runtime_get_sync() will increment pm usage counter.
Forgetting to putting operation will result in reference leak.
Add missing pm_runtime_put_sync in some error paths.
Fixes: 9ac33b0ce81f ("CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic)")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220602030838.52057-1-linmq006@gmail.com
Reviewed-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions